From: Sergey M․ Date: Wed, 23 Nov 2016 16:28:32 +0000 (+0700) Subject: [youtube:playlist] Pass disable_polymer in query (closes #11193, closes #11270) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=c867adc68c5dda0fafb2535c1a02ea32549b9d10;p=youtube-dl.git [youtube:playlist] Pass disable_polymer in query (closes #11193, closes #11270) --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 7ccb875a5..bd24a2838 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -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[0-9A-Za-z_-]{11})&[^"]*?index=(?P\d+)(?:[^>]+>(?P[^<]+))?' IE_NAME = 'youtube:playlist' _TESTS = [{