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

Episode on using Web Scraper extension to scrape the UNSC resolutions #46

Merged
merged 1 commit into from Jul 6, 2017

Conversation

@jnothman
Copy link
Contributor

@jnothman jnothman commented Jul 4, 2017 •

Fixes #25

I wanted to keep a visual scraper in the lesson as I felt it reflects an important option for people who want to do scraping, and leaves the lesson accessible to non-coders. It gives a sense of accomplishment prior to (or in the absence of) implementing and understanding code.

As noted in the lesson itself, the Web Scraper extension was the best of a bad bunch in FOSS visual scrapers:

  • Portia has a lot of things going for it, but as a web server rather than a browser extension, it is harder to install. (Easiest via docker.) It is also quite intricate in its interface, which I find a distraction.
  • David Heaton's Scraper Chrome extension, which @timtomch based his lesson on, does not do multi-page scrapes. I also found its interface wasn't great, and that its error handling would involve alert(some_object) giving useless error messages.
  • Web Scraper's user interface leaves much to be desired, and we've encountered a few somewhat inexplicable bugs. It does not support XPath. But it's pretty good for teaching the shape of an entire site scraper, as long as the instructor is well versed in its model of "run a list of extractors in the context of a parent extractor" (where Web Scraper calls extractors "selectors".
@timtomch timtomch merged commit aea9615 into data-lessons:gh-pages Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants