about summary refs log tree commit diff
diff options
context:
space:
mode:
authordirkf <fieldhouse@gmx.net>2022-06-14 19:45:34 +0100
committerdirkf <fieldhouse@gmx.net>2022-06-15 18:28:19 +0100
commit8a158a936c8b002ef536e9e2b778ded02c09c0fa (patch)
tree15ed1d4799b54cd3edbc690f9bae667f862eae5f
parent11665dd2367a2eefd1ad090828f987fef11226e4 (diff)
downloadyoutube-dl-8a158a936c8b002ef536e9e2b778ded02c09c0fa.tar.gz
youtube-dl-8a158a936c8b002ef536e9e2b778ded02c09c0fa.tar.xz
youtube-dl-8a158a936c8b002ef536e9e2b778ded02c09c0fa.zip
[NHK] Use new API URL
-rw-r--r--youtube_dl/extractor/nhk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nhk.py b/youtube_dl/extractor/nhk.py
index 46a800e7e..f43d91cd5 100644
--- a/youtube_dl/extractor/nhk.py
+++ b/youtube_dl/extractor/nhk.py
@@ -8,7 +8,7 @@ from ..utils import urljoin
 
 
 class NhkBaseIE(InfoExtractor):
-    _API_URL_TEMPLATE = 'https://api.nhk.or.jp/nhkworld/%sod%slist/v7a/%s/%s/%s/all%s.json'
+    _API_URL_TEMPLATE = 'https://nwapi.nhk.jp/nhkworld/%sod%slist/v7b/%s/%s/%s/all%s.json'
     _BASE_URL_REGEX = r'https?://www3\.nhk\.or\.jp/nhkworld/(?P<lang>[a-z]{2})/ondemand'
     _TYPE_REGEX = r'/(?P<type>video|audio)/'