mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-01 08:41:50 +03:00
make autopep8 happy
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ def print_extractor_information(opts, urls):
|
|||||||
'return_type': ie.return_type(),
|
'return_type': ie.return_type(),
|
||||||
'regex_urls': ie.list_regex_url(),
|
'regex_urls': ie.list_regex_url(),
|
||||||
'matched_urls': matched_urls,
|
'matched_urls': matched_urls,
|
||||||
}
|
}
|
||||||
e_index += 1
|
e_index += 1
|
||||||
dicts.append(data)
|
dicts.append(data)
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -611,7 +611,6 @@ class InfoExtractor:
|
|||||||
# so that lazy_extractors works correctly
|
# so that lazy_extractors works correctly
|
||||||
return cls._match_valid_url(url) is not None
|
return cls._match_valid_url(url) is not None
|
||||||
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def list_regex_url(cls):
|
def list_regex_url(cls):
|
||||||
return cls._VALID_URL if type(cls._VALID_URL) in [list, tuple] \
|
return cls._VALID_URL if type(cls._VALID_URL) in [list, tuple] \
|
||||||
|
|||||||
Reference in New Issue
Block a user