[cookies] Allow --cookies-from-browser for Safari on iOS (#14950)
Authored by: pha1n0q
This commit is contained in:
parent
c96e9291ab
commit
e6414d64e7
1 changed files with 1 additions and 1 deletions
|
|
@ -557,7 +557,7 @@ class WindowsChromeCookieDecryptor(ChromeCookieDecryptor):
|
||||||
|
|
||||||
|
|
||||||
def _extract_safari_cookies(profile, logger):
|
def _extract_safari_cookies(profile, logger):
|
||||||
if sys.platform != 'darwin':
|
if sys.platform not in ('darwin', 'ios'):
|
||||||
raise ValueError(f'unsupported platform: {sys.platform}')
|
raise ValueError(f'unsupported platform: {sys.platform}')
|
||||||
|
|
||||||
if profile:
|
if profile:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue