]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[youtube:playlist] Recognize popular uploads playlist as mix (Closes #9170)
authorSergey M․ <dstftw@gmail.com>
Tue, 12 Apr 2016 15:38:31 +0000 (21:38 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 12 Apr 2016 15:38:31 +0000 (21:38 +0600)
youtube_dl/extractor/youtube.py

index 188066561c3ebd571b5ff9d6afd4400bd3ef2f34..5a102de5109f417561e85bdbff56999a21b1a869 100644 (file)
@@ -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)