mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
[washingtonpost] Add extractor (Fixes #2622)
This commit is contained in:
@@ -1328,3 +1328,7 @@ def compat_getpass(prompt, *args, **kwargs):
|
||||
'R': 16,
|
||||
'NC': 18,
|
||||
}
|
||||
|
||||
|
||||
def strip_jsonp(code):
|
||||
return re.sub(r'(?s)^[a-zA-Z_]+\s*\(\s*(.*)\);\s*?\s*$', r'\1', code)
|
||||
|
||||
Reference in New Issue
Block a user