1
0
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:
pha1n0q
2025-11-09 17:05:44 -05:00
committed by GitHub
parent c96e9291ab
commit e6414d64e7

View File

@@ -557,7 +557,7 @@ class WindowsChromeCookieDecryptor(ChromeCookieDecryptor):
def _extract_safari_cookies(profile, logger):
if sys.platform != 'darwin':
if sys.platform not in ('darwin', 'ios'):
raise ValueError(f'unsupported platform: {sys.platform}')
if profile: