1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 08:26:50 +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