projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11665dd
)
[NHK] Use new API URL
author
dirkf
<fieldhouse@gmx.net>
Tue, 14 Jun 2022 18:45:34 +0000
(19:45 +0100)
committer
dirkf
<fieldhouse@gmx.net>
Wed, 15 Jun 2022 17:28:19 +0000
(18:28 +0100)
youtube_dl/extractor/nhk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nhk.py
b/youtube_dl/extractor/nhk.py
index 46a800e7e891b515dc99a82e8d4ce19d3cabd9d5..f43d91cd5fcca80490e8f69986ca27c0cda83b80 100644
(file)
--- 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)/'