From 4ac4c76eade7e078061bd4ebb7771acca84f5299 Mon Sep 17 00:00:00 2001 From: aeph6Ee0 Date: Tue, 15 Sep 2015 15:56:51 +0200 Subject: [PATCH] [liveleak] flake8 --- youtube_dl/extractor/liveleak.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/liveleak.py b/youtube_dl/extractor/liveleak.py index 68b37646b..ee859425c 100644 --- a/youtube_dl/extractor/liveleak.py +++ b/youtube_dl/extractor/liveleak.py @@ -54,12 +54,13 @@ class LiveLeakIE(InfoExtractor): }] video_count = 0 + def _video_count(self): self.video_count += 1 if self.video_count == 1: return '' else: - return '-' + str(self.video_count-1) + return '-' + str(self.video_count - 1) # Removing '.h264_*.mp4' gives the raw video, which is essentially # the same video without the LiveLeak logo at the top (see @@ -143,7 +144,6 @@ class LiveLeakIE(InfoExtractor): 'age_limit': age_limit, }) - # collect embedded videos: embed_urls = list() @@ -171,7 +171,6 @@ class LiveLeakIE(InfoExtractor): 'age_limit': age_limit, }) - if len(entries) == 1: return entries[0] else: