[core] _VALID_URLS implementation

- implemented _VALID_URLS extractor property
- improvement suggested by @Grub4k
This commit is contained in:
nixxo
2022-12-16 11:26:33 +01:00
parent c733555106
commit db96683cf1
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ from devscripts.utils import get_filename_args, read_file, write_file
NO_ATTR = object()
STATIC_CLASS_PROPERTIES = [
'IE_NAME', '_ENABLED', '_VALID_URL', # Used for URL matching
'IE_NAME', '_ENABLED', '_VALID_URL', '_VALID_URLS', # Used for URL matching
'_WORKING', 'IE_DESC', '_NETRC_MACHINE', 'SEARCH_KEY', # Used for --extractor-descriptions
'age_limit', # Used for --age-limit (evaluated)
'_RETURN_TYPE', # Accessed in CLI only with instance (evaluated)