From 22547719965a69da34c072b17ff662e2a0320122 Mon Sep 17 00:00:00 2001 From: kenavera Date: Fri, 18 May 2018 10:50:45 +0200 Subject: [PATCH] Fix mandatory feature extraction --- youtube_dl/extractor/medialaan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/medialaan.py b/youtube_dl/extractor/medialaan.py index 15137f0d8..10ae53420 100644 --- a/youtube_dl/extractor/medialaan.py +++ b/youtube_dl/extractor/medialaan.py @@ -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')),