Selaa lähdekoodia

SteamIE: accept urls with agecheck

Jaime Marquínez Ferrándiz 12 vuotta sitten
vanhempi
sitoutus
4c9f7a9988
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      youtube_dl/InfoExtractors.py

+ 1 - 0
youtube_dl/InfoExtractors.py

@@ -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