diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-06-15 02:51:21 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-06-15 02:51:21 +0600 |
commit | 00ac23e6e06bf6de59d5d5b3f42ff64ce039fee2 (patch) | |
tree | 39f449a59d8f557f268fe9d26195beb0ad19e548 /youtube_dl/extractor | |
parent | 7d0c934a3ef1b0c6d3dff91aaa685c1cd71e5580 (diff) |
[liveleak] Improve regex for restoring original video URL
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/liveleak.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/liveleak.py b/youtube_dl/extractor/liveleak.py index c658cc92b..e82f21ea7 100644 --- 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, |