]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[openload] Fallback video extension to mp4
authorSergey M․ <dstftw@gmail.com>
Wed, 25 Jan 2017 16:28:45 +0000 (23:28 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 25 Jan 2017 16:28:45 +0000 (23:28 +0700)
youtube_dl/extractor/openload.py

index 4893ade5d7998700ec787c3ee498a2fe5eddff11..32289d8976dcf602839546d179c06ef224a79b20 100644 (file)
@@ -101,7 +101,7 @@ class OpenloadIE(InfoExtractor):
             'thumbnail': self._og_search_thumbnail(webpage, default=None),
             'url': video_url,
             # Seems all videos have extensions in their titles
-            'ext': determine_ext(title),
+            'ext': determine_ext(title, 'mp4'),
             'subtitles': subtitles,
         }
         return info_dict