Style fixes for extractors: remove spaces around (,),{ and }
This commit is contained in:
parent
fa5d47af4b
commit
a56f9de156
13 changed files with 33 additions and 33 deletions
|
@ -49,10 +49,10 @@ class SpankwireIE(InfoExtractor):
|
|||
|
||||
formats = []
|
||||
for video_url in video_urls:
|
||||
path = compat_urllib_parse_urlparse( video_url ).path
|
||||
extension = os.path.splitext( path )[1][1:]
|
||||
path = compat_urllib_parse_urlparse(video_url).path
|
||||
extension = os.path.splitext(path)[1][1:]
|
||||
format = path.split('/')[4].split('_')[:2]
|
||||
format = "-".join( format )
|
||||
format = "-".join(format)
|
||||
formats.append({
|
||||
'url': video_url,
|
||||
'ext': extension,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue