A feature-rich command-line audio/video downloader
[steam] Bypass mature content check (closes #16113)
Sergey M․717ea4e14e59
diff --git a/youtube_dl/extractor/steam.py b/youtube_dl/extractor/steam.pyindex e5ac586a7f..a6a191cebb 100644--- a/youtube_dl/extractor/steam.py+++ b/youtube_dl/extractor/steam.py@@ -75,6 +75,9 @@ class SteamIE(InfoExtractor):gameID = m.group('gameID')playlist_id = gameIDvideourl = self._VIDEO_PAGE_TEMPLATE % playlist_id++ self._set_cookie('steampowered.com', 'mature_content', '1')+webpage = self._download_webpage(videourl, playlist_id)if re.search('<h2>Please enter your birth date to continue:</h2>', webpage) is not None: