mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-12 22:14:00 +03:00
[core] _VALID_URLS implementation
- implemented _VALID_URLS extractor property - improvement suggested by @Grub4k
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user