mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-16 14:15:41 +07:00
[cookies] Allow --cookies-from-browser for Safari on iOS (#14950)
Authored by: pha1n0q
This commit is contained in:
@@ -557,7 +557,7 @@ def decrypt(self, encrypted_value):
|
|||||||
|
|
||||||
|
|
||||||
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