node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

chrome-cookies

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 :)