mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-18 17:30:10 +09:00
[indavideo] update API URL
Without the added `/12/` suffix all downloads failed with HTTP 403. The suffix fixes access for all tested videos.
This commit is contained in:
parent
3e92c60fcd
commit
cd4f6be96f
@ -58,7 +58,7 @@ class IndavideoEmbedIE(InfoExtractor):
|
|||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
|
|
||||||
video = self._download_json(
|
video = self._download_json(
|
||||||
'https://amfphp.indavideo.hu/SYm0json.php/player.playerHandler.getVideoData/%s' % video_id,
|
'https://amfphp.indavideo.hu/SYm0json.php/player.playerHandler.getVideoData/%s/12/' % video_id,
|
||||||
video_id)['data']
|
video_id)['data']
|
||||||
|
|
||||||
title = video['title']
|
title = video['title']
|
||||||
|
Loading…
Reference in New Issue
Block a user