Forráskód Böngészése

[openload] Fallback video extension to mp4

Sergey M․ 8 éve
szülő
commit
c1fa3f4672
1 módosított fájl, 1 hozzáadás és 1 törlés
  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