Sergey M․
6 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
3 additions and
0 deletions
-
youtube_dl/extractor/steam.py
|
@ -75,6 +75,9 @@ class SteamIE(InfoExtractor): |
|
|
gameID = m.group('gameID') |
|
|
gameID = m.group('gameID') |
|
|
playlist_id = gameID |
|
|
playlist_id = gameID |
|
|
videourl = self._VIDEO_PAGE_TEMPLATE % playlist_id |
|
|
videourl = self._VIDEO_PAGE_TEMPLATE % playlist_id |
|
|
|
|
|
|
|
|
|
|
|
self._set_cookie('steampowered.com', 'mature_content', '1') |
|
|
|
|
|
|
|
|
webpage = self._download_webpage(videourl, playlist_id) |
|
|
webpage = self._download_webpage(videourl, playlist_id) |
|
|
|
|
|
|
|
|
if re.search('<h2>Please enter your birth date to continue:</h2>', webpage) is not None: |
|
|
if re.search('<h2>Please enter your birth date to continue:</h2>', webpage) is not None: |
|
|