]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/steam.py
New upstream version 2019.06.08
[youtubedl] / youtube_dl / extractor / steam.py
index e5ac586a7f750b131de611ca9bf66b6f826e54dd..a6a191cebb4b98e46627ecc9ae8bd70071193ea6 100644 (file)
@@ -75,6 +75,9 @@ class SteamIE(InfoExtractor):
             gameID = m.group('gameID')
             playlist_id = gameID
             videourl = 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: