aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/tv2.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-07-29 22:01:34 +0700
committerSergey M․ <dstftw@gmail.com>2016-07-29 22:01:34 +0700
commitdbc0b39b9158be0bdf50d031d1e993078e6cd264 (patch)
treec9bb0fffcfab30fa111efd6d0b5a8c3f030e135d /youtube_dl/extractor/tv2.py
parent481c5c5137baab386c1cc4a4163bae7404a25f61 (diff)
downloadyoutube-dl-dbc0b39b9158be0bdf50d031d1e993078e6cd264.zip
youtube-dl-dbc0b39b9158be0bdf50d031d1e993078e6cd264.tar.gz
youtube-dl-dbc0b39b9158be0bdf50d031d1e993078e6cd264.tar.bz2
[tv2] Improve extraction
Diffstat (limited to 'youtube_dl/extractor/tv2.py')
-rw-r--r--youtube_dl/extractor/tv2.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/tv2.py b/youtube_dl/extractor/tv2.py
index e4b4ac0..f225ec6 100644
--- a/youtube_dl/extractor/tv2.py
+++ b/youtube_dl/extractor/tv2.py
@@ -55,10 +55,11 @@ class TV2IE(InfoExtractor):
ext = determine_ext(video_url)
if ext == 'f4m':
formats.extend(self._extract_f4m_formats(
- video_url, video_id, f4m_id=format_id))
+ video_url, video_id, f4m_id=format_id, fatal=False))
elif ext == 'm3u8':
formats.extend(self._extract_m3u8_formats(
- video_url, video_id, 'mp4', m3u8_id=format_id))
+ video_url, video_id, 'mp4', entry_protocol='m3u8_native',
+ m3u8_id=format_id, fatal=False))
elif ext == 'ism' or video_url.endswith('.ism/Manifest'):
pass
else: