Skip to content

Commit b666382

Browse files
hatsomattGitHub Actions
authored and
GitHub Actions
committed
[Videa] Fix extraction
* update API URL * from yt-dlp/yt-dlp#8003 * thanks to the authors! Closes yt-dlp/7427 Authored by: hatsomatt, aky-01
1 parent 639ab94 commit b666382

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

youtube_dl/extractor/videa.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class VideaIE(InfoExtractor):
5454
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
5555
'thumbnail': r're:^https?://.*',
5656
'duration': 21,
57+
'age_limit': 0,
5758
},
5859
}, {
5960
'url': 'http://videa.hu/videok/origo/jarmuvek/supercars-elozes-jAHDWfWSJH5XuFhH',
@@ -64,6 +65,7 @@ class VideaIE(InfoExtractor):
6465
'title': 'Supercars előzés',
6566
'thumbnail': r're:^https?://.*',
6667
'duration': 64,
68+
'age_limit': 0,
6769
},
6870
}, {
6971
'url': 'http://videa.hu/player?v=8YfIAjxwWGwT8HVQ',
@@ -74,6 +76,7 @@ class VideaIE(InfoExtractor):
7476
'title': 'Az őrült kígyász 285 kígyót enged szabadon',
7577
'thumbnail': r're:^https?://.*',
7678
'duration': 21,
79+
'age_limit': 0,
7780
},
7881
}, {
7982
'url': 'http://videa.hu/player/v/8YfIAjxwWGwT8HVQ?autoplay=1',
@@ -149,7 +152,7 @@ def _real_extract(self, url):
149152
query['_t'] = result[:16]
150153

151154
b64_info, handle = self._download_webpage_handle(
152-
'http://videa.hu/videaplayer_get_xml.php', video_id, query=query)
155+
'http://videa.hu/player/xml', video_id, query=query)
153156
if b64_info.startswith('<?xml'):
154157
info = self._parse_xml(b64_info, video_id)
155158
else:

0 commit comments

Comments
 (0)