projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34525a3
)
[nhk] update API version(closes #24270)
author
Remita Amine
<remitamine@gmail.com>
Fri, 6 Mar 2020 19:12:35 +0000
(20:12 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Fri, 6 Mar 2020 19:13:28 +0000
(20:13 +0100)
youtube_dl/extractor/nhk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nhk.py
b/youtube_dl/extractor/nhk.py
index 6a2c6cb7bb6d039c56fcf7325de422846c437ab5..d2cbc9f54b81d6268228c605721045ccd9ca9cd1 100644
(file)
--- a/
youtube_dl/extractor/nhk.py
+++ b/
youtube_dl/extractor/nhk.py
@@
-31,7
+31,7
@@
class NhkVodIE(InfoExtractor):
'url': 'https://www3.nhk.or.jp/nhkworld/fr/ondemand/audio/plugin-20190404-1/',
'only_matching': True,
}]
- _API_URL_TEMPLATE = 'https://api.nhk.or.jp/nhkworld/%sod%slist/v7/episode/%s/%s/all%s.json'
+ _API_URL_TEMPLATE = 'https://api.nhk.or.jp/nhkworld/%sod%slist/v7
a
/episode/%s/%s/all%s.json'
def _real_extract(self, url):
lang, m_type, episode_id = re.match(self._VALID_URL, url).groups()