Skip to content
dump google chrome cookies for a url to stdout (only for mac & linux )
JavaScript
Find file
Latest commit 8171d19 @torifat added nodei.co
Failed to load latest commit information.
bin Initial commit
.gitignore
README.md added nodei.co
package.json

README.md

Chrome Cookies

Dump Google Chrome cookies for a url to stdout.

Installation

npm install -g chrome-cookies

NPM

Examples

chrome-cookies https://www.google.com/

This will output your google chrome browser cookies for https://www.google.com/ into stdout.

chrome-cookies https://www.example.com/ > cookies.txt

This will output your google chrome browser cookies for https://www.example.com/ into a new file called cookies.txt, in the current directory.

You can easily use this cookies.txt with curl like -

curl -b cookies.txt https://www.example.com/

or, with wget like -

wget --load-cookies cookies.txt https://google.com/

Thanks for using :)

Something went wrong with that request. Please try again.