summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-03-14 04:42:40 +0700
committerSergey M․ <dstftw@gmail.com>2020-03-14 04:42:40 +0700
commit541fe3eaff579f72ccc14f97009a8904f739368f (patch)
tree0eab7404a3349bbf001b19a825815fd2bd0474e6
parent9bfe08859491882e40603ed6c4eb59760ed35ca7 (diff)
downloadyoutube-dl-541fe3eaff579f72ccc14f97009a8904f739368f.tar.gz
youtube-dl-541fe3eaff579f72ccc14f97009a8904f739368f.tar.xz
youtube-dl-541fe3eaff579f72ccc14f97009a8904f739368f.zip
[nhk] Update m3u8 URL and use native hls (#24329)
-rw-r--r--youtube_dl/extractor/nhk.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/nhk.py b/youtube_dl/extractor/nhk.py
index ce13f6bb9..de6a707c4 100644
--- a/youtube_dl/extractor/nhk.py
+++ b/youtube_dl/extractor/nhk.py
@@ -85,8 +85,9 @@ class NhkVodIE(InfoExtractor):
             audio = episode['audio']
             audio_path = audio['audio']
             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)
+                'https://nhkworld-vh.akamaihd.net/i%s/master.m3u8' % audio_path,
+                episode_id, 'm4a', entry_protocol='m3u8_native',
+                m3u8_id='hls', fatal=False)
             for f in info['formats']:
                 f['language'] = lang
         return info