Skip to content

Commit

Permalink
[youtube:playlist] fix title extraction (fixes #7544 and #7545)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeMF committed Nov 18, 2015
1 parent 312a3f3 commit 63b4295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/youtube.py
Expand Up @@ -1615,7 +1615,7 @@ def _extract_playlist(self, playlist_id):
self.report_warning('Youtube gives an alert message: ' + match)

playlist_title = self._html_search_regex(
r'(?s)<h1 class="pl-header-title[^"]*">\s*(.*?)\s*</h1>',
r'(?s)<h1 class="pl-header-title[^"]*"[^>]*>\s*(.*?)\s*</h1>',
page, 'title')

return self.playlist_result(self._entries(page, playlist_id), playlist_id, playlist_title)
Expand Down

0 comments on commit 63b4295

Please sign in to comment.