Skip to content

Instantly share code, notes, and snippets.

Last active Feb 2, 2017
What would you like to do?
import bs4
import urllib
url = ""
html = urllib.urlopen(url).read()
soup = bs4.BeautifulSoup(html, 'html.parser')
titles ='.review-data')
for title in titles:
print title.text.strip()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment