1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-11-29 10:10:23 +01:00

Fix --cookies-from-browser CLI parsing

Closes #5716
This commit is contained in:
pukkandan 2022-12-06 00:35:08 +05:30
parent c4cbd3bebd
commit 935bac1e4d
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -350,7 +350,7 @@ def validate_options(opts):
mobj = re.fullmatch(r'''(?x)
(?P<name>[^+:]+)
(?:\s*\+\s*(?P<keyring>[^:]+))?
(?:\s*:\s*(?P<profile>.+?))?
(?:\s*:\s*(?!:)(?P<profile>.+?))?
(?:\s*::\s*(?P<container>.+))?
''', opts.cookiesfrombrowser)
if mobj is None: