logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 9bfe08859491882e40603ed6c4eb59760ed35ca7
parent fcaf4d7a067e9ac6b36a5f7b1100be391f492a79
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 14 Mar 2020 04:40:11 +0700

[nhk] Remove obsolete rtmp formats (closes #24329)

Diffstat:

Myoutube_dl/extractor/nhk.py7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git 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