pjscrape
pjscrape copied to clipboard
Wikipedia page has changed, update examples
The selector used in the examples no longer works, update as necessary.
Hi, not sure how to fork a pages site and change that, but the example getting the list of towns should now be
pjs.addSuite({ // url to scrape url: 'http://en.wikipedia.org/wiki/List_of_towns_in_Vermont', // selector to look for scraper: 'table.sortable tr td:nth-child(2)' }); // Output: ["Addison","Albany","Alburgh", ...]
If it is possible to fork pages sites, I guess I can do it tomorrow and fix those examples and then send you a pull request - after I find out how to do the forking of course.