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 91d7e00 commit 5d152d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -44,7 +44,7 @@
player_name_text = player_row_text.split(". ",1)[1].split(", ",1)[0]

for links in player_row_link:
print(links)
print(links[2])

# Write out to the sqlite database using scraperwiki library
scraperwiki.sqlite.save(unique_keys=["Player ID"], data={"Player ID":player_id, "Category":category_name_text, "Player Rank":player_rank_text, "Player Name":player_name_text}, table_name="data")
Expand Down

0 comments on commit 5d152d8

Please sign in to comment.