I'm confused, is the window object from Jsdom a live object? Can I scrape interactive sites?
Isn't Phantomjs already perfect for scrapping, what is the advantage of this exactly?
Isn't Phantomjs already perfect for scrapping, what is the advantage of this exactly?
And of course you can scrape interactive sites - interactive sites still basically just use HTTP to request data. Just watch the network window in Chrome's developer tools, and figure out what HTTP requests the site is making that you are interested in. Then code them into request() calls.
Also worth noting that jsdom is quite slow, and has a strict HTML parser. If you want something faster that will cope with more web pages, look up cheerio.
Browsers sole purpose is to run web apps. It doesn't make sense to use anything else.
With a pure Nodejs scraper we can run over 1000 parallel sessions per CPU.