aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/nhk.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-03-14 04:40:11 +0700
committerSergey M․ <dstftw@gmail.com>2020-03-14 04:40:11 +0700
commit9bfe08859491882e40603ed6c4eb59760ed35ca7 (patch)
treea80756c76f7230d618ffeadbe1bcd721b4188338 /youtube_dl/extractor/nhk.py
parentfcaf4d7a067e9ac6b36a5f7b1100be391f492a79 (diff)
[nhk] Remove obsolete rtmp formats (closes #24329)
Diffstat (limited to 'youtube_dl/extractor/nhk.py')
-rw-r--r--youtube_dl/extractor/nhk.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/youtube_dl/extractor/nhk.py b/youtube_dl/extractor/nhk.py
index 45bc4d85e..ce13f6bb9 100644
--- 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