diff options
author | hatsomatt <143712404+hatsomatt@users.noreply.github.com> | 2023-09-16 16:02:37 +0200 |
---|---|---|
committer | dirkf <fieldhouse@gmx.net> | 2024-03-08 13:14:52 +0000 |
commit | 820fae3b3a8587a6f57afbe803b4f91de7d4e086 (patch) | |
tree | 0b637c950830de6729a5c0de50fa1377f33aa07e | |
parent | aef24d97e9c50cd9db06349b2b25c7f623baf932 (diff) |
[Videa] Fix extraction
* update API URL
* from https://github.com/yt-dlp/yt-dlp/pull/8003
* thanks to the authors!
Closes yt-dlp/7427
Authored by: hatsomatt, aky-01
-rw-r--r-- | youtube_dl/extractor/videa.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/videa.py b/youtube_dl/extractor/videa.py index 0689764a5..194b4b011 100644 --- a/youtube_dl/extractor/videa.py +++ b/youtube_dl/extractor/videa.py @@ -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', @@ -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', @@ -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', @@ -149,7 +152,7 @@ class VideaIE(InfoExtractor): 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: |