From 67b8ab3ca6b30aba7ae58ae81b707f369d057064 Mon Sep 17 00:00:00 2001 From: jomo Date: Fri, 23 Jan 2015 15:23:19 +0100 Subject: [PATCH] download raw videos from LiveLeak, without branding --- youtube_dl/extractor/liveleak.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/liveleak.py b/youtube_dl/extractor/liveleak.py index b04be1e8c..00a3c686f 100644 --- a/youtube_dl/extractor/liveleak.py +++ b/youtube_dl/extractor/liveleak.py @@ -82,7 +82,8 @@ class LiveLeakIE(InfoExtractor): formats = [{ 'format_note': s.get('label'), - 'url': s['file'], + # removing this from the URL gives us the raw video without LiveLeak branding + 'url': s['file'].replace('.h264_base.mp4', ''), } for s in sources] self._sort_formats(formats)