From: Sergey M․ Date: Tue, 12 Apr 2016 15:38:31 +0000 (+0600) Subject: [youtube:playlist] Recognize popular uploads playlist as mix (Closes #9170) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=466a6145372aa70f44a9b39c7fdeb05301a5485a;p=youtube-dl [youtube:playlist] Recognize popular uploads playlist as mix (Closes #9170) --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 188066561..5a102de51 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1884,7 +1884,7 @@ class YoutubePlaylistIE(YoutubePlaylistBaseInfoExtractor): if video: return video - if playlist_id.startswith('RD') or playlist_id.startswith('UL'): + if playlist_id.startswith(('RD', 'UL', 'PU')): # Mixes require a custom extraction process return self._extract_mix(playlist_id)