mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-22 04:25:36 +08:00
[dailymotion:playlist] Fix title
This commit is contained in:
parent
3ab34c603e
commit
b0fb63abe8
@ -201,11 +201,12 @@ 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 {
|
||||||
'id': playlist_id,
|
'_type': 'playlist',
|
||||||
'title': get_element_by_id(u'playlist_name', webpage),
|
'id': playlist_id,
|
||||||
'entries': self._extract_entries(playlist_id),
|
'title': self._og_search_title(webpage),
|
||||||
}
|
'entries': self._extract_entries(playlist_id),
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
class DailymotionUserIE(DailymotionPlaylistIE):
|
class DailymotionUserIE(DailymotionPlaylistIE):
|
||||||
|
Loading…
Reference in New Issue
Block a user