projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d0c934
)
[liveleak] Improve regex for restoring original video URL
author
Sergey M․
<dstftw@gmail.com>
Sun, 14 Jun 2015 20:51:21 +0000
(
02:51
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 14 Jun 2015 20:51:21 +0000
(
02:51
+0600)
youtube_dl/extractor/liveleak.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/liveleak.py
b/youtube_dl/extractor/liveleak.py
index c658cc92bdd505badc8ba579afd2743fad941746..e82f21ea7136b1e4a0ef797c20d120a65b49a0a7 100644
(file)
--- a/
youtube_dl/extractor/liveleak.py
+++ b/
youtube_dl/extractor/liveleak.py
@@
-95,7
+95,7
@@
class LiveLeakIE(InfoExtractor):
'url': s['file'],
} for i, s in enumerate(sources)]
for i, s in enumerate(sources):
- orig_url = re.sub(r'
.h264_.+
\.mp4', '', s['file'])
+ orig_url = re.sub(r'
\.h264_.+?
\.mp4', '', s['file'])
if s['file'] != orig_url:
formats.append({
'format_id': 'original-%s' % i,