Skip to content

Commit

Permalink
Merge pull request #163 from nikoheikkila/master
Browse files Browse the repository at this point in the history
Improve Hitbox.tv URL regex (another try)
  • Loading branch information
kipe committed Jan 17, 2015
2 parents 625c439 + d3c3fb6 commit e5f76a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfibot/modules/module_urltitle.py
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ def _handle_hitbox(url):
return

# Hitbox titles are populated by JavaScript so they return a useless "{{meta.title}}", don't show those
elif not re.match("http://(www\.)?hitbox\.tv/([a-z0-9]+)$", url):
elif not re.match("http://(www\.)?hitbox\.tv/([A-Za-z0-9]+)$", url):
return False

# For actual stream pages, let's fetch information via the hitbox API
Expand Down

0 comments on commit e5f76a2

Please sign in to comment.