Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice committed Jul 13, 2015
1 parent fe83c59 commit 190cd7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -10,7 +10,7 @@
htmlMovie = requests.get(link).text
rootMovie = lxml.html.fromstring(htmlMovie)
movieID = link.split("/")[4]
title = rootMovie.cssselect("h2 a:nth-of-type(1)").values()
title = rootMovie.cssselect("h2 a:nth-of-type(1)")[1].text_content()
print title
break
#movieTitle =
Expand Down

0 comments on commit 190cd7d

Please sign in to comment.