Explorar o código

[openload] Fallback video extension to mp4

Sergey M․ %!s(int64=8) %!d(string=hai) anos
pai
achega
c1fa3f4672
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/extractor/openload.py

+ 1 - 1
youtube_dl/extractor/openload.py

@@ -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