]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[vidio] Fix HLS URL extraction (closes #15675)
authorSergey M․ <dstftw@gmail.com>
Thu, 22 Feb 2018 15:50:39 +0000 (22:50 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 22 Feb 2018 15:50:39 +0000 (22:50 +0700)
youtube_dl/extractor/vidio.py

index 01da32f1cdd05505a6d53eff4f9bc6691aaae512..b48baf00be3b93f9dbddcc35713f2ff6604851d2 100644 (file)
@@ -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)