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 9499a56 commit 7dc4904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -12,7 +12,7 @@
movieID = link.split("/")[4]
title = rootMovie.cssselect("h2 a:nth-of-type(1)")[0].text_content()
year = title.split(' ')[-1].replace('(','').replace(')','')
imdbUrl = rootMovie.cssselect(" h2 a href")
imdbUrl = rootMovie.cssselect("h2 a")
print imdbUrl
break

Expand Down

0 comments on commit 7dc4904

Please sign in to comment.