projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3a9634
)
[youtube:playlist] Fix playlists for logged-in users (Fixes #2690)
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 4 Apr 2014 00:23:36 +0000
(
02:23
+0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 4 Apr 2014 00:23:36 +0000
(
02:23
+0200)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index e422d86e4fe6dda98c8e61b5d9c0a0c9ed3d50e6..334a61833e23cd81399d9da384837523e7e3dfdc 100644
(file)
--- 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)