1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-15 04:35:19 +00:00
pukkandan
2023-04-24 17:21:20 +05:30
parent 80b732b7a9
commit 78fde6e339
3 changed files with 3 additions and 2 deletions

View File

@@ -243,7 +243,7 @@ def create_parser():
if multiple_keys:
allowed_keys = fr'({allowed_keys})(,({allowed_keys}))*'
mobj = re.match(
fr'(?i)(?P<keys>{allowed_keys}){delimiter}(?P<val>.*)$',
fr'(?is)(?P<keys>{allowed_keys}){delimiter}(?P<val>.*)$',
value[0] if multiple_args else value)
if mobj is not None:
keys, val = mobj.group('keys').split(','), mobj.group('val')