aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/drtv.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-07-11 22:59:36 +0700
committerSergey M․ <dstftw@gmail.com>2017-07-11 22:59:56 +0700
commit9a0942ad55bba714d6eaeb9ee4f66a138ec85e17 (patch)
tree148f6aedee4e3cf0cb271f1e903dc24ab51f837e /youtube_dl/extractor/drtv.py
parentf2bb33a9868e499f4582fee24a7b67d559d33575 (diff)
[drtv] Make HLS and HDS extraction non fatal
Diffstat (limited to 'youtube_dl/extractor/drtv.py')
-rw-r--r--youtube_dl/extractor/drtv.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/drtv.py b/youtube_dl/extractor/drtv.py
index c84624f1e..69effba58 100644
--- a/youtube_dl/extractor/drtv.py
+++ b/youtube_dl/extractor/drtv.py
@@ -118,7 +118,7 @@ class DRTVIE(InfoExtractor):
if target == 'HDS':
f4m_formats = self._extract_f4m_formats(
uri + '?hdcore=3.3.0&plugin=aasp-3.3.0.99.43',
- video_id, preference, f4m_id=format_id)
+ video_id, preference, f4m_id=format_id, fatal=False)
if kind == 'AudioResource':
for f in f4m_formats:
f['vcodec'] = 'none'
@@ -126,7 +126,8 @@ class DRTVIE(InfoExtractor):
elif target == 'HLS':
formats.extend(self._extract_m3u8_formats(
uri, video_id, 'mp4', entry_protocol='m3u8_native',
- preference=preference, m3u8_id=format_id))
+ preference=preference, m3u8_id=format_id,
+ fatal=False))
else:
bitrate = link.get('Bitrate')
if bitrate: