1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2025-02-18 10:07:55 +01:00

Fix mandatory feature extraction

This commit is contained in:
kenavera 2018-05-18 10:50:45 +02:00
parent c965be955a
commit 2254771996

View File

@ -167,8 +167,8 @@ class MedialaanIE(GigyaBaseIE):
if video: if video:
info = { info = {
'id': video_id, 'id': video_id,
'url': video.get('formats')[0].get('url'), 'formats': video.get('formats'),
'title': metadata.get('videoTitle'), 'title': metadata.get('videoTitle') or self._og_search_title(webpage),
'thumbnail': video.get('poster'), 'thumbnail': video.get('poster'),
'timestamp': unified_timestamp(pubdate), 'timestamp': unified_timestamp(pubdate),
'duration': int_or_none(video.get('duration')), 'duration': int_or_none(video.get('duration')),