diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-04-11 02:16:46 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-04-11 02:16:46 +0200 |
commit | b0fb63abe864fd8a27ffa4f1c187abd7e4afb8fe (patch) | |
tree | 6dc6591e87c54b8f4125be0ee5da8e740d84e1d2 /youtube_dl/extractor | |
parent | 3ab34c603ecf948ccff93948c678c335960eb0c7 (diff) |
[dailymotion:playlist] Fix title
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/dailymotion.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/youtube_dl/extractor/dailymotion.py b/youtube_dl/extractor/dailymotion.py index 5504d93eb..bae1c7754 100644 --- a/youtube_dl/extractor/dailymotion.py +++ b/youtube_dl/extractor/dailymotion.py @@ -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): |