[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 = 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']
title = video['title']