1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

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