Skip to content

Commit

Permalink
[Videa] Fix extraction
Browse files Browse the repository at this point in the history
* update API URL
* from yt-dlp/yt-dlp#8003
* thanks to the authors!

Closes yt-dlp/7427
Authored by: hatsomatt, aky-01
  • Loading branch information
hatsomatt authored and dirkf committed Mar 8, 2024
1 parent aef24d9 commit 820fae3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion youtube_dl/extractor/videa.py
Expand Up @@ -54,6 +54,7 @@ class VideaIE(InfoExtractor):
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
'thumbnail': r're:^https?://.*',
'duration': 21,
'age_limit': 0,
},
}, {
'url': 'http://videa.hu/videok/origo/jarmuvek/supercars-elozes-jAHDWfWSJH5XuFhH',
Expand All @@ -64,6 +65,7 @@ class VideaIE(InfoExtractor):
'title': 'Supercars előzés',
'thumbnail': r're:^https?://.*',
'duration': 64,
'age_limit': 0,
},
}, {
'url': 'http://videa.hu/player?v=8YfIAjxwWGwT8HVQ',
Expand All @@ -74,6 +76,7 @@ class VideaIE(InfoExtractor):
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
'thumbnail': r're:^https?://.*',
'duration': 21,
'age_limit': 0,
},
}, {
'url': 'http://videa.hu/player/v/8YfIAjxwWGwT8HVQ?autoplay=1',
Expand Down Expand Up @@ -149,7 +152,7 @@ def _real_extract(self, url):
query['_t'] = result[:16]

b64_info, handle = self._download_webpage_handle(
'http://videa.hu/videaplayer_get_xml.php', video_id, query=query)
'http://videa.hu/player/xml', video_id, query=query)
if b64_info.startswith('<?xml'):
info = self._parse_xml(b64_info, video_id)
else:
Expand Down

0 comments on commit 820fae3

Please sign in to comment.