Browse Source

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

master
Sergey M․ 5 years ago
parent
commit
9bfe088594
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      youtube_dl/extractor/nhk.py

+ 0
- 7
youtube_dl/extractor/nhk.py View File

@ -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

Loading…
Cancel
Save