download raw videos from LiveLeak, without branding

This commit is contained in:
jomo 2015-01-23 15:23:19 +01:00
parent 6f58db8982
commit 67b8ab3ca6

View File

@ -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)