Fix W504 and disable W503 (closes #20863)
This commit is contained in:
parent
d23e85515a
commit
3089bc748c
49 changed files with 211 additions and 211 deletions
|
@ -91,8 +91,8 @@ class RuutuIE(InfoExtractor):
|
|||
extract_formats(child)
|
||||
elif child.tag.endswith('File'):
|
||||
video_url = child.text
|
||||
if (not video_url or video_url in processed_urls or
|
||||
any(p in video_url for p in ('NOT_USED', 'NOT-USED'))):
|
||||
if (not video_url or video_url in processed_urls
|
||||
or any(p in video_url for p in ('NOT_USED', 'NOT-USED'))):
|
||||
continue
|
||||
processed_urls.append(video_url)
|
||||
ext = determine_ext(video_url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue