[youtube] Fix 141 format tests
authorSergey M․ <dstftw@gmail.com>
Fri, 24 Jun 2016 15:27:55 +0000 (22:27 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 24 Jun 2016 15:27:55 +0000 (22:27 +0700)
youtube_dl/extractor/youtube.py

index 00dd602ffe09da6e6edd3c61039e4fd134398e56..54c6e45f87aef9323f912101b748277f5c958d55 100644 (file)
@@ -501,6 +501,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
                 'youtube_include_dash_manifest': True,
                 'format': '141',
             },
+            'skip': 'format 141 not served anymore',
         },
         # DASH manifest with encrypted signature
         {
@@ -517,7 +518,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
             },
             'params': {
                 'youtube_include_dash_manifest': True,
-                'format': '141',
+                'format': '141/bestaudio[ext=m4a]',
             },
         },
         # JS player signature function name containing $
@@ -537,7 +538,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
             },
             'params': {
                 'youtube_include_dash_manifest': True,
-                'format': '141',
+                'format': '141/bestaudio[ext=m4a]',
             },
         },
         # Controversy video