From cd4f6be96faf012f75409f39943dfbf46c8b3e2f Mon Sep 17 00:00:00 2001 From: thlor Date: Mon, 6 Mar 2023 13:49:08 +0100 Subject: [PATCH] [indavideo] update API URL Without the added `/12/` suffix all downloads failed with HTTP 403. The suffix fixes access for all tested videos. --- youtube_dl/extractor/indavideo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/indavideo.py b/youtube_dl/extractor/indavideo.py index 4c16243ec..b9d58e976 100644 --- a/youtube_dl/extractor/indavideo.py +++ b/youtube_dl/extractor/indavideo.py @@ -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']