Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wikipedia page has changed, update examples #12

Open
nrabinowitz opened this issue Feb 28, 2012 · 1 comment
Open

Wikipedia page has changed, update examples #12

nrabinowitz opened this issue Feb 28, 2012 · 1 comment

Comments

@nrabinowitz
Copy link
Owner

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

@bryanrasmussen
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants