Journocoders January 2016

Venue: The News Building

Date: Thursday 14th January

Topic: Web scraping with Python

Event page: http://www.meetup.com/Journocoders/events/227923444/?

The tutorial: https://first-web-scraper.readthedocs.org/en/latest/

SHOW & TELL LINKS

QUESTIONS

TUTORIAL TIPS

becomes...

... will need to be replaced with this line:

It didn’t work for me either. Try this instead:

^ i got an "KeyError: 0" when I did that. But it seemed to run OK without the [0] at the end of that. (also it looks like boone county was keen to have a drop-shadow on its table of results...) 

There are differences between the versions of the BeautifulSoup API between versions of Python. For Python 2.7 you should use the soup.findAll version. For later, use the soup.find_all version (we think.) - Got working scrape code for that page in Python 2.7 - please feel free to ask :)