mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-18 12:37:54 +01:00
[nhk] Remove obsolete rtmp formats (closes #24329)
This commit is contained in:
parent
fcaf4d7a06
commit
9bfe088594
@ -87,13 +87,6 @@ class NhkVodIE(InfoExtractor):
|
|||||||
info['formats'] = self._extract_m3u8_formats(
|
info['formats'] = self._extract_m3u8_formats(
|
||||||
'https://nhks-vh.akamaihd.net/i%s/master.m3u8' % audio_path,
|
'https://nhks-vh.akamaihd.net/i%s/master.m3u8' % audio_path,
|
||||||
episode_id, 'm4a', m3u8_id='hls', fatal=False)
|
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']:
|
for f in info['formats']:
|
||||||
f['language'] = lang
|
f['language'] = lang
|
||||||
return info
|
return info
|
||||||
|
Loading…
Reference in New Issue
Block a user