Przeglądaj źródła

[extractor/generic] Extract f4m formats from final URLs

Sergey M․ 9 lat temu
rodzic
commit
3f2f4a94aa
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      youtube_dl/extractor/generic.py

+ 2 - 0
youtube_dl/extractor/generic.py

@@ -1990,6 +1990,8 @@ class GenericIE(InfoExtractor):
                 entry_info_dict['formats'] = self._extract_m3u8_formats(video_url, video_id, ext='mp4')
             elif ext == 'mpd':
                 entry_info_dict['formats'] = self._extract_mpd_formats(video_url, video_id)
+            elif ext == 'f4m':
+                entry_info_dict['formats'] = self._extract_f4m_formats(video_url, video_id)
             else:
                 entry_info_dict['url'] = video_url