1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-29 19:47:54 +01: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