title fallback

This commit is contained in:
tamas 2018-09-06 23:10:26 +02:00
parent 8f347dcc02
commit d72a1263cf

View File

@ -42,7 +42,7 @@ class MediaKlikkIE(InfoExtractor):
video_id = str(info_meta['contentId']).decode('utf-8') video_id = str(info_meta['contentId']).decode('utf-8')
info_ret = { info_ret = {
'_type': 'video', '_type': 'video',
'title': info_meta['title'], 'title': info_meta.get('title') or self._og_search_title(webpage),
'ext': 'mp4', 'ext': 'mp4',
'id': video_id 'id': video_id
} }