3 ms·
As far as I can see it has not much in common with casperjs, apart from the fact that it can use phantomjs.
by thibauts 12y ago
As far as I can see it has not much in common with casperjs, apart from the fact that it can use phantomjs.
- jasode 12y agoIf you mean that the syntax is different, yes, I get that. CasperJS can also scrape dynamic websites. What criteria would someone want to use ScraperJS instead of CasperJS for that task? Are there features in ScraperJS that don't exist in CasperJS? Does it take 10x less lines-of-code to accomplish the same task? Etc.
- ruipgil 12y agoFor web scraping purposes ScraperJS and ScraperJS would probably use the same lines of code, however ScraperJS has most of the tools you need for web scraping, something that CasperJS lacks (that's not their main goal). ScraperJS is move flexible than just CasperJS. If you want static content just use the static scraper and get lightening fast results. TL;DR: CasperJS is great but it's not made for web scraping.