[liveleak] flake8
This commit is contained in:
parent
ac7ea5c4c8
commit
4ac4c76ead
@ -54,12 +54,13 @@ class LiveLeakIE(InfoExtractor):
|
|||||||
}]
|
}]
|
||||||
|
|
||||||
video_count = 0
|
video_count = 0
|
||||||
|
|
||||||
def _video_count(self):
|
def _video_count(self):
|
||||||
self.video_count += 1
|
self.video_count += 1
|
||||||
if self.video_count == 1:
|
if self.video_count == 1:
|
||||||
return ''
|
return ''
|
||||||
else:
|
else:
|
||||||
return '-' + str(self.video_count-1)
|
return '-' + str(self.video_count - 1)
|
||||||
|
|
||||||
# Removing '.h264_*.mp4' gives the raw video, which is essentially
|
# Removing '.h264_*.mp4' gives the raw video, which is essentially
|
||||||
# the same video without the LiveLeak logo at the top (see
|
# the same video without the LiveLeak logo at the top (see
|
||||||
@ -143,7 +144,6 @@ class LiveLeakIE(InfoExtractor):
|
|||||||
'age_limit': age_limit,
|
'age_limit': age_limit,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
# collect embedded videos:
|
# collect embedded videos:
|
||||||
embed_urls = list()
|
embed_urls = list()
|
||||||
|
|
||||||
@ -171,7 +171,6 @@ class LiveLeakIE(InfoExtractor):
|
|||||||
'age_limit': age_limit,
|
'age_limit': age_limit,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
if len(entries) == 1:
|
if len(entries) == 1:
|
||||||
return entries[0]
|
return entries[0]
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user