Compare commits

...

3 Commits

Author SHA1 Message Date
thlor
f9fbd2ed82
Merge 004e87c72d into e1b3fa242c 2024-07-28 01:39:12 +09:00
thlor
004e87c72d
[indavideo] update examples
Remove videos that have been deleted, add new examples
2023-03-06 13:52:30 +01:00
thlor
cd4f6be96f
[indavideo] update API URL
Without the added `/12/` suffix all downloads failed with HTTP 403. The suffix fixes access for all tested videos.
2023-03-06 13:49:08 +01:00

View File

@ -42,10 +42,9 @@ class IndavideoEmbedIE(InfoExtractor):
# Some example URLs covered by generic extractor:
# http://indavideo.hu/video/Vicces_cica_1
# http://index.indavideo.hu/video/2015_0728_beregszasz
# http://auto.indavideo.hu/video/Sajat_utanfutoban_a_kis_tacsko
# http://erotika.indavideo.hu/video/Amator_tini_punci
# http://film.indavideo.hu/video/f_hrom_nagymamm_volt
# https://index.indavideo.hu/video/Kibeszelo_Nemeth_David
# https://auto.indavideo.hu/video/DF_Coyote_Mustang_Buli_-_SportVerda
# https://film.indavideo.hu/video/f_menjek_maradjak
# http://palyazat.indavideo.hu/video/Embertelen_dal_Dodgem_egyuttes
@staticmethod
@ -58,7 +57,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']