scrape-url
Scrape URLs with CSS selectors and return elements.
Install
$ npm install scrape-url
Usage
Basic Usage
var scrape = ; ;
You can also pass through an array of selectors.
;
Instead of a string URL, you can pass through options if you so wish.
var options = url: "http://google.com" headers: "user-agent": "SoCool 2.0" ; ;
Sending Post Requests
Along with the normal get
request scraping, you can also send post requests.
var options = url: "http://suchwow.com/form.php" form: message: "Whoa, such a form." ; scrape;