[openload] Fallback video extension to mp4

This commit is contained in:
Sergey M․ 2017-01-25 23:28:45 +07:00
parent 17f8deeb48
commit c1fa3f4672
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -101,7 +101,7 @@ def _real_extract(self, url):
'thumbnail': self._og_search_thumbnail(webpage, default=None), 'thumbnail': self._og_search_thumbnail(webpage, default=None),
'url': video_url, 'url': video_url,
# Seems all videos have extensions in their titles # Seems all videos have extensions in their titles
'ext': determine_ext(title), 'ext': determine_ext(title, 'mp4'),
'subtitles': subtitles, 'subtitles': subtitles,
} }
return info_dict return info_dict