]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[nhk] Update m3u8 URL and use native hls (#24329)
authorSergey M․ <dstftw@gmail.com>
Fri, 13 Mar 2020 21:42:40 +0000 (04:42 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 13 Mar 2020 21:42:40 +0000 (04:42 +0700)
youtube_dl/extractor/nhk.py

index ce13f6bb9d353238f69690b2666750a02c31a9b8..de6a707c4265c4fc61a57db117a432a95468ab54 100644 (file)
@@ -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