From e6414d64e73d86d65bb357e5ad59d0ca080d5812 Mon Sep 17 00:00:00 2001 From: pha1n0q <88598340+pha1n0q@users.noreply.github.com> Date: Sun, 9 Nov 2025 17:05:44 -0500 Subject: [PATCH] [cookies] Allow `--cookies-from-browser` for Safari on iOS (#14950) Authored by: pha1n0q --- yt_dlp/cookies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/cookies.py b/yt_dlp/cookies.py index 4fdc0b8de7..4e74c4b396 100644 --- a/yt_dlp/cookies.py +++ b/yt_dlp/cookies.py @@ -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: