aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-04-04 02:23:36 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-04-04 02:23:36 +0200
commit68eb8e90e6aac7d35295f97b4dfd6ed329ae032d (patch)
tree8622df21dde98d5c3fda46506ce20bb535185fd6 /youtube_dl/extractor
parentd3a96346c46e7e9ac6e9916fd4f9f5b6af7a6278 (diff)
[youtube:playlist] Fix playlists for logged-in users (Fixes #2690)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/youtube.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index e422d86e4..334a61833 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -1453,7 +1453,8 @@ class YoutubePlaylistIE(YoutubeBaseInfoExtractor):
more_widget_html = more['load_more_widget_html']
playlist_title = self._html_search_regex(
- r'<h1 class="pl-header-title">\s*(.*?)\s*</h1>', page, u'title')
+ r'(?s)<h1 class="pl-header-title[^"]*">\s*(.*?)\s*</h1>',
+ page, u'title')
url_results = self._ids_to_results(ids)
return self.playlist_result(url_results, playlist_id, playlist_title)