youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit afa1ded425ffe12a5b90bcd4d316c43941a5dc1a
parent 00ac23e6e06bf6de59d5d5b3f42ff64ce039fee2
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon, 15 Jun 2015 02:54:05 +0600

[liveleak] Clarify rationale for restoring raw video

Diffstat:
Myoutube_dl/extractor/liveleak.py | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/liveleak.py b/youtube_dl/extractor/liveleak.py @@ -95,6 +95,9 @@ class LiveLeakIE(InfoExtractor): 'url': s['file'], } for i, s in enumerate(sources)] for i, s in enumerate(sources): + # Removing '.h264_*.mp4' gives the raw video, which is essentially + # the same video without the LiveLeak logo at the top (see + # https://github.com/rg3/youtube-dl/pull/4768) orig_url = re.sub(r'\.h264_.+?\.mp4', '', s['file']) if s['file'] != orig_url: formats.append({