Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice committed Feb 8, 2016
1 parent c2f94a0 commit 82554af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.py
Expand Up @@ -30,12 +30,12 @@
unique_id = "|".join(text.partition("NominationID=")[2]+url for text in root_nomination.xpath("//tr/td/div/a/@href"))
movie = "|".join(text.text_content().partition(" -- ")[2] for text in root_nomination.xpath("//tr[td]"))
for text in root_nomination.xpath("//tr[td]"):
temp = text.text_content()
if temp[0]="*":
if text.text_content()[0] == "*"
win = "Yes"
else:
win = "No"
print win
print text.text_content[0]
# win = "Yes"
# else:
# win = "No"
Expand Down

0 comments on commit 82554af

Please sign in to comment.