1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 04:26:50 +01:00

Changed naver api address

Naver's vod play api endpoint address has been changed, and old address does not work anymore (at least for me!).
This commit is contained in:
ganzabb 2021-02-21 06:14:50 +09:00
parent 21e872b19a
commit 8f4fa9e91b

View File

@ -20,7 +20,7 @@ class NaverBaseIE(InfoExtractor):
def _extract_video_info(self, video_id, vid, key):
video_data = self._download_json(
'http://play.rmcnmv.naver.com/vod/play/v2.0/' + vid,
'https://apis.naver.com/rmcnmv/rmcnmv/vod/play/v2.0/' + vid,
video_id, query={
'key': key,
})