From: Sergey M․ Date: Sun, 10 Apr 2016 17:45:17 +0000 (+0600) Subject: [glide] Fix extraction (Closes #9141) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=4a121d29bb0700beb19e8b6edb5d479e9fe7ac1b;p=youtube-dl [glide] Fix extraction (Closes #9141) --- diff --git a/youtube_dl/extractor/glide.py b/youtube_dl/extractor/glide.py index 9561ed5fb..0ab23f766 100644 --- a/youtube_dl/extractor/glide.py +++ b/youtube_dl/extractor/glide.py @@ -23,8 +23,9 @@ class GlideIE(InfoExtractor): webpage = self._download_webpage(url, video_id) title = self._html_search_regex( r'(.*?)', webpage, 'title') - video_url = self.http_scheme() + self._search_regex( - r'', webpage, 'video URL') + video_url = self._proto_relative_url(self._search_regex( + r']+src=(["\'])(?P.+?)\1', + webpage, 'video URL', group='url'), self.http_scheme()) thumbnail_url = self._search_regex( r'