aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-13 03:38:20 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-13 03:38:20 +0600
commit3f2f4a94aa63e156e8ad19ea493f23e2afec6b62 (patch)
treea746cdf1813d9d88b33f3079bc1d60c15ab9399d /youtube_dl/extractor/generic.py
parentf930e0c76e4c0dea36bf9af3aef77f08888fcdf9 (diff)
[extractor/generic] Extract f4m formats from final URLs
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 36d3a7433..8121f04a5 100644
--- a/youtube_dl/extractor/generic.py
+++ b/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