Fix `--cookies-from-browser` CLI parsing

Closes #5716
pull/5737/head
pukkandan 2 years ago
parent c4cbd3bebd
commit 935bac1e4d
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

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

Loading…
Cancel
Save