1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 19:52:11 +00: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:
thlor 2023-03-06 13:49:08 +01:00 committed by GitHub
parent 3e92c60fcd
commit cd4f6be96f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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']