[Youtube] Recognize playlists with LL
authorpulpe <Pulpan3@gmail.com>
Sat, 14 Jun 2014 11:23:28 +0000 (13:23 +0200)
committerpulpe <Pulpan3@gmail.com>
Sat, 14 Jun 2014 11:23:28 +0000 (13:23 +0200)
youtube_dl/extractor/youtube.py

index 7c50881c4453eaff4ac69776fcc2dc94feef8d31..ece62dfce06f832830ac5278c6dd6ffa30cacdb9 100644 (file)
@@ -1386,13 +1386,13 @@ class YoutubePlaylistIE(YoutubeBaseInfoExtractor):
                         |  p/
                         )
                         (
-                            (?:PL|EC|UU|FL|RD)?[0-9A-Za-z-_]{10,}
+                            (?:PL|LL|EC|UU|FL|RD)?[0-9A-Za-z-_]{10,}
                             # Top tracks, they can also include dots 
                             |(?:MC)[\w\.]*
                         )
                         .*
                      |
-                        ((?:PL|EC|UU|FL|RD)[0-9A-Za-z-_]{10,})
+                        ((?:PL|LL|EC|UU|FL|RD)[0-9A-Za-z-_]{10,})
                      )"""
     _TEMPLATE_URL = 'https://www.youtube.com/playlist?list=%s'
     _MORE_PAGES_INDICATOR = r'data-link-type="next"'