Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zegor committed Jul 14, 2018
1 parent 55ad64d commit a373f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -35,7 +35,7 @@
player_name_text = player_name[0].text_content()
else:
player_name_text = player_name[1].text_content()
player_name_text = player_name_text.split(". ",0)[0]
player_name_text = player_name_text.split(". ",1)[0]
print(player_name_text)

# Write out to the sqlite database using scraperwiki library
Expand Down

0 comments on commit a373f59

Please sign in to comment.