Skip to content

Commit

Permalink
[nhk] Remove obsolete rtmp formats (closes #24329)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Mar 13, 2020
1 parent fcaf4d7 commit 9bfe088
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions youtube_dl/extractor/nhk.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,6 @@ def get_clean_field(key):
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

0 comments on commit 9bfe088

Please sign in to comment.