dump google chrome cookies for a url to stdout (only for mac & linux )
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
README.md
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 :)