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: