projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f2bb33a
)
[drtv] Make HLS and HDS extraction non fatal
author
Sergey M․
<dstftw@gmail.com>
Tue, 11 Jul 2017 15:59:36 +0000
(22:59 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 11 Jul 2017 15:59:56 +0000
(22:59 +0700)
youtube_dl/extractor/drtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/drtv.py
b/youtube_dl/extractor/drtv.py
index c84624f1eaa40e053a5d054b34a81a6e675c142b..69effba58371426ec6813066424e86aa976b9ce8 100644
(file)
--- 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',
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'
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',
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:
else:
bitrate = link.get('Bitrate')
if bitrate: