Browse Source

[dailymotion:playlist] Fix title

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
b0fb63abe8
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      youtube_dl/extractor/dailymotion.py

+ 6
- 5
youtube_dl/extractor/dailymotion.py View File

@ -201,11 +201,12 @@ class DailymotionPlaylistIE(DailymotionBaseInfoExtractor):
playlist_id = mobj.group('id')
webpage = self._download_webpage(url, playlist_id)
return {'_type': 'playlist',
'id': playlist_id,
'title': get_element_by_id(u'playlist_name', webpage),
'entries': self._extract_entries(playlist_id),
}
return {
'_type': 'playlist',
'id': playlist_id,
'title': self._og_search_title(webpage),
'entries': self._extract_entries(playlist_id),
}
class DailymotionUserIE(DailymotionPlaylistIE):


Loading…
Cancel
Save