mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-14 16:59:49 +02:00
fix typo bug
Authored by: bashonly
This commit is contained in:
parent
d58fd084a2
commit
4f26051ccf
@ -2171,7 +2171,7 @@ def _extra_manifest_info(self, info, manifest_url):
|
||||
if key_query is not None:
|
||||
info['extra_param_to_key_url'] = (
|
||||
urllib.parse.urlparse(key_query).query or key_query
|
||||
or urllib.parse.urlparse(key_query).query or None)
|
||||
or urllib.parse.urlparse(manifest_url).query or None)
|
||||
|
||||
def hex_or_none(value):
|
||||
return value if re.fullmatch(r'(0x)?[\da-f]+', value, re.IGNORECASE) else None
|
||||
|
Loading…
Reference in New Issue
Block a user