I've heard of people using PhantomJS with CasperJS to scrape, not sure if it can be done solely with PhantomJS.
Re:Portia, an open-source visual web scraper
by vaviloff on Tuesday April 01, 2014 @02:21PM
(#7510494)
CasperJS is a higher-level wrapper for PhantomJS, so - yes, it could be done with PhantomJS solely... But you wouldn't want to, because CasperJS makes automation easier.
Re:Portia, an open-source visual web scraper
by uptown on Tuesday April 01, 2014 @02:37PM
(#7510633)
Are there any libraries to facilitate database-connectivity to SQL Server or MySQL from javascript? I've used CasperJS to scrape some sites, but always fall back on post-processing the scraped data with another program in order to get it into my database. I'd love to be able to do it all from one piece of code.
Is it also a webscraper that can pull data out of a page for me?