SteamIE: accept urls with agecheck

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-04-27 11:03:34 +02:00
parent aba8df23ed
commit 4c9f7a9988

View file

@ -3560,6 +3560,7 @@ class FunnyOrDieIE(InfoExtractor):
class SteamIE(InfoExtractor): class SteamIE(InfoExtractor):
_VALID_URL = r"""http://store.steampowered.com/ _VALID_URL = r"""http://store.steampowered.com/
(agecheck/)?
(?P<urltype>video|app)/ #If the page is only for videos or for a game (?P<urltype>video|app)/ #If the page is only for videos or for a game
(?P<gameID>\d+)/? (?P<gameID>\d+)/?
(?P<videoID>\d*)(?P<extra>\??) #For urltype == video we sometimes get the videoID (?P<videoID>\d*)(?P<extra>\??) #For urltype == video we sometimes get the videoID