Skip to content

Commit

Permalink
[nhk] update API version(closes #24270)
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine authored and pareronia committed Jun 22, 2020
1 parent 56e72fb commit 2b42a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/nhk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/v7a/episode/%s/%s/all%s.json'

def _real_extract(self, url):
lang, m_type, episode_id = re.match(self._VALID_URL, url).groups()
Expand Down

0 comments on commit 2b42a70

Please sign in to comment.