Skip to content

Instantly share code, notes, and snippets.

@kp96
Last active September 21, 2016 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kp96/708d8b914b4ec73dabc1b8017b4a9113 to your computer and use it in GitHub Desktop.
Save kp96/708d8b914b4ec73dabc1b8017b4a9113 to your computer and use it in GitHub Desktop.
IMDB Get Movie's First Review
from bs4 import BeautifulSoup
import requests
req = requests.get('http://www.imdb.com/title/tt0068646/reviews')
review_soup = BeautifulSoup(req.text, "html.parser")
print (review_soup.find("div", {"id" : "tn15content"}).findAll('p'))[1]
# pip install requests, bs4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment