mirror of
https://gitlab.com/ytdl-org/youtube-dl.git
synced 2026-01-04 00:01:07 -05:00
Style fixes for extractors: remove spaces around (,),{ and }
This commit is contained in:
@@ -47,10 +47,10 @@ class PornHubIE(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('/')[5].split('_')[:2]
|
||||
format = "-".join( format )
|
||||
format = "-".join(format)
|
||||
formats.append({
|
||||
'url': video_url,
|
||||
'ext': extension,
|
||||
|
||||
Reference in New Issue
Block a user