1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-19 07:24:32 +01:00

[dailymotion:playlist] Fix title

This commit is contained in:
Philipp Hagemeister 2014-04-11 02:16:46 +02:00
parent 3ab34c603e
commit b0fb63abe8

View File

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