Browse Source

[youtube:playlist] Fix playlists for logged-in users (Fixes #2690)

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
68eb8e90e6
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/youtube.py

+ 2
- 1
youtube_dl/extractor/youtube.py View File

@ -1453,7 +1453,8 @@ class YoutubePlaylistIE(YoutubeBaseInfoExtractor):
more_widget_html = more['load_more_widget_html'] more_widget_html = more['load_more_widget_html']
playlist_title = self._html_search_regex( 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) url_results = self._ids_to_results(ids)
return self.playlist_result(url_results, playlist_id, playlist_title) return self.playlist_result(url_results, playlist_id, playlist_title)


Loading…
Cancel
Save