1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +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:
info = {
'id': video_id,
'url': video.get('formats')[0].get('url'),
'title': metadata.get('videoTitle'),
'formats': video.get('formats'),
'title': metadata.get('videoTitle') or self._og_search_title(webpage),
'thumbnail': video.get('poster'),
'timestamp': unified_timestamp(pubdate),
'duration': int_or_none(video.get('duration')),