chrome-cookies

dump google chrome cookies for a url to stdout

npm install chrome-cookies
5 downloads in the last month

Chrome Cookies

Dump Google Chrome cookies for a url to stdout.

Installation

npm install -g chrome-cookies

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

npm loves you