pjscrape icon indicating copy to clipboard operation
pjscrape copied to clipboard

Wikipedia page has changed, update examples

Open nrabinowitz opened this issue 12 years ago • 1 comments

The selector used in the examples no longer works, update as necessary.

nrabinowitz avatar Feb 28 '12 23:02 nrabinowitz

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.

bryanrasmussen avatar Oct 02 '13 16:10 bryanrasmussen