aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-02-22 22:50:39 +0700
committerSergey M․ <dstftw@gmail.com>2018-02-22 22:50:39 +0700
commit2acc11d77121729c725dd320d6b7d8e4c53c1f3c (patch)
treee9370346e1a823373fa9225f5999d18c0ef354fc /youtube_dl
parent0704306e1daa52a825e8b37af0693d83571d9c62 (diff)
[vidio] Fix HLS URL extraction (closes #15675)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/vidio.py4
1 files changed, 2 insertions, 2 deletions
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<url>(?!\1).+)\1',
- webpage, 'hls url')
+ r'data(?:-vjs)?-clip-hls-url=(["\'])(?P<url>(?:(?!\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)