projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcaf4d7
)
[nhk] Remove obsolete rtmp formats (closes #24329)
author
Sergey M․
<dstftw@gmail.com>
Fri, 13 Mar 2020 21:40:11 +0000
(
04:40
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 13 Mar 2020 21:40:11 +0000
(
04:40
+0700)
youtube_dl/extractor/nhk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nhk.py
b/youtube_dl/extractor/nhk.py
index 45bc4d85e45f45c8cc17c0ace3c1455ece271124..ce13f6bb9d353238f69690b2666750a02c31a9b8 100644
(file)
--- a/
youtube_dl/extractor/nhk.py
+++ b/
youtube_dl/extractor/nhk.py
@@
-87,13
+87,6
@@
class NhkVodIE(InfoExtractor):
info['formats'] = self._extract_m3u8_formats(
'https://nhks-vh.akamaihd.net/i%s/master.m3u8' % audio_path,
episode_id, 'm4a', m3u8_id='hls', fatal=False)
- for proto in ('rtmpt', 'rtmp'):
- info['formats'].append({
- 'ext': 'flv',
- 'format_id': proto,
- 'url': '%s://flv.nhk.or.jp/ondemand/mp4:flv%s' % (proto, audio_path),
- 'vcodec': 'none',
- })
for f in info['formats']:
f['language'] = lang
return info