pjscrape: A web-scraping framework written in Javascript, using PhantomJS and jQuery

pjscrape: A web-scraping framework written in Javascript, using PhantomJS and jQuery

Overview pjscrape is a framework for anyone who's ever wanted a command-line tool for web scraping using Javascript and jQuery. Built to run with PhantomJS, it allows you to scrape pages in a fully rendered, Javascript-enabled context from the command line, no browser required. Features Client-side, Javascript-based scraping environment with full access to jQuery functions Easy, flexible syntax for setting up one or more scrapers Recursive/crawl scraping Delay scrape until a "ready" condition occurs Load your own scripts on the page before scraping Modular architecture for logging and writing/formatting scraped items Client-side utilities for common tasks Growing set of unit tests Download pjscrape-v0.1.4.zip pjscrape-v0.1.4.tar.gz Fork on github Dependencies PhantomJS v.1.3 License MIT License Documentation Javascript API Documentation In its most concise syntax, pjscrape makes scraping a webpage as easy as this:

你可能感兴趣的:(JavaScript)