From: Sergey M․ Date: Thu, 22 Feb 2018 15:50:39 +0000 (+0700) Subject: [vidio] Fix HLS URL extraction (closes #15675) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2acc11d77121729c725dd320d6b7d8e4c53c1f3c;p=youtube-dl [vidio] Fix HLS URL extraction (closes #15675) --- diff --git a/youtube_dl/extractor/vidio.py b/youtube_dl/extractor/vidio.py index 01da32f1c..b48baf00b 100644 --- a/youtube_dl/extractor/vidio.py +++ b/youtube_dl/extractor/vidio.py @@ -49,8 +49,8 @@ class VidioIE(InfoExtractor): thumbnail = clip.get('image') m3u8_url = m3u8_url or self._search_regex( - r'data(?:-vjs)?-clip-hls-url=(["\'])(?P(?!\1).+)\1', - webpage, 'hls url') + r'data(?:-vjs)?-clip-hls-url=(["\'])(?P(?:(?!\1).)+)\1', + webpage, 'hls url', group='url') formats = self._extract_m3u8_formats( m3u8_url, display_id, 'mp4', entry_protocol='m3u8_native') self._sort_formats(formats)