From 08219c4a67961d9e9cf2e3f37fc89cda47e5c8db Mon Sep 17 00:00:00 2001 From: Mister Hat Date: Tue, 3 Nov 2015 19:13:27 -0600 Subject: [PATCH] [vidzi] fixed. finds url from hash and host in script --- youtube_dl/extractor/vidzi.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/vidzi.py b/youtube_dl/extractor/vidzi.py index 08a5a7b8d..e7c3bc8d9 100644 --- a/youtube_dl/extractor/vidzi.py +++ b/youtube_dl/extractor/vidzi.py @@ -20,13 +20,20 @@ class VidziIE(InfoExtractor): video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) - video_url = self._html_search_regex( - r'{\s*file\s*:\s*"([^"]+)"\s*}', webpage, 'video url') + video_host = self._html_search_regex( + r'id=\'vplayer\'>(.*?)', webpage, 'title') return { 'id': video_id, - 'title': title, 'url': video_url, + 'ext': ext, + 'title': title }