projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0704306
)
[vidio] Fix HLS URL extraction (closes #15675)
author
Sergey M․
<dstftw@gmail.com>
Thu, 22 Feb 2018 15:50:39 +0000
(22:50 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 22 Feb 2018 15:50:39 +0000
(22:50 +0700)
youtube_dl/extractor/vidio.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vidio.py
b/youtube_dl/extractor/vidio.py
index 01da32f1cdd05505a6d53eff4f9bc6691aaae512..b48baf00be3b93f9dbddcc35713f2ff6604851d2 100644
(file)
--- 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)