Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vgchartzfull.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
# vgchartz website is really weird so we have to search for
# <a> tags with game urls
game_tags = list(filter(
lambda x: x.attrs['href'].startswith('http://www.vgchartz.com/game/'),
lambda x: 'href' in x.attrs and x.attrs['href'].startswith('https://www.vgchartz.com/game/'),
# discard the first 10 elements because those
# links are in the navigation bar
soup.find_all("a")
))[10:]
))

for tag in game_tags:

Expand Down