From: Jaime Marquínez Ferrándiz Date: Wed, 18 Nov 2015 17:28:05 +0000 (+0100) Subject: [youtube:playlist] fix title extraction (fixes #7544 and #7545) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=63b4295d20a5b98a9fca4dc3ce132b26408110d6;p=youtube-dl [youtube:playlist] fix title extraction (fixes #7544 and #7545) --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 687e0b4db..364ca102a 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1615,7 +1615,7 @@ class YoutubePlaylistIE(YoutubeBaseInfoExtractor, YoutubePlaylistBaseInfoExtract self.report_warning('Youtube gives an alert message: ' + match) playlist_title = self._html_search_regex( - r'(?s)

\s*(.*?)\s*

', + r'(?s)

]*>\s*(.*?)\s*

', page, 'title') return self.playlist_result(self._entries(page, playlist_id), playlist_id, playlist_title)