]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[youtube:playlist] Pass disable_polymer in query (closes #11193, closes #11270)
authorSergey M․ <dstftw@gmail.com>
Wed, 23 Nov 2016 16:28:32 +0000 (23:28 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 23 Nov 2016 16:28:32 +0000 (23:28 +0700)
youtube_dl/extractor/youtube.py

index 7ccb875a5035dfd192e5362f1334e5b830f247e3..bd24a28389bf847f1e72451e232bfab0807809d8 100644 (file)
@@ -1796,7 +1796,7 @@ class YoutubePlaylistIE(YoutubePlaylistBaseInfoExtractor):
                      |
                         ((?:PL|LL|EC|UU|FL|RD|UL)[0-9A-Za-z-_]{10,})
                      )"""
-    _TEMPLATE_URL = 'https://www.youtube.com/playlist?list=%s'
+    _TEMPLATE_URL = 'https://www.youtube.com/playlist?list=%s&disable_polymer=true'
     _VIDEO_RE = r'href="\s*/watch\?v=(?P<id>[0-9A-Za-z_-]{11})&amp;[^"]*?index=(?P<index>\d+)(?:[^>]+>(?P<title>[^<]+))?'
     IE_NAME = 'youtube:playlist'
     _TESTS = [{