mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-11-13 21:15:15 +00:00
[cookies] Allow --cookies-from-browser for Safari on iOS (#14950)
Authored by: pha1n0q
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user