[extractor/generic] Extract f4m formats from final URLs
authorSergey M․ <dstftw@gmail.com>
Sat, 12 Mar 2016 21:38:20 +0000 (03:38 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 12 Mar 2016 21:38:20 +0000 (03:38 +0600)
youtube_dl/extractor/generic.py

index 36d3a743383412eae4c337d5021e3c4e0151002c..8121f04a5e02cf672dc6ab0f152d21df8b98034e 100644 (file)
@@ -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