Last active
March 25, 2023 18:38
-
-
Save kamikat/7a9c3c5a495e41aed26b to your computer and use it in GitHub Desktop.
export curl cookie text from firefox and chrome on linux
Ok, the values are 'AES-CBC encrypted with an OS protected key (keyring)'.
Get key: security find-generic-password -w -a Chrome
.
This PR has code for it: https://github.com/yt-dlp/yt-dlp/pull/488/files#diff-c042473d560a04c6fd504c3cb3ae2c9a56a27e42458132a265a3ffda0d60a5c7R259
👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chrome path for macOS is
~/Library/Application\ Support/Google/Chrome/Default/Cookies
.However, I noticed that the column
value
is empty, and onlyencrypted_value
has data.