From: Sergey M․ Date: Fri, 13 Mar 2020 21:40:11 +0000 (+0700) Subject: [nhk] Remove obsolete rtmp formats (closes #24329) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=9bfe08859491882e40603ed6c4eb59760ed35ca7;p=youtube-dl [nhk] Remove obsolete rtmp formats (closes #24329) --- 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