Skip to content

Borrow cookies from your browser's authenticated session for use in Python scripts.

License

Notifications You must be signed in to change notification settings

ankostis/pycookiecheat

 
 

Repository files navigation

pycookiecheat

Borrow cookies from your browser's authenticated session for use in Python scripts.

Installation

PyPI

  • pip3 install pycookiecheat

GitHub

  1. git clone https://github.com/n8henrie/pycookiecheat.git
  2. cd pycookiecheat
  3. python3 setup.py install

Usage

from pycookiecheat import chrome_cookies
import requests

url = 'http://example.com/fake.html'

cookies = chrome_cookies(url)
r = requests.get(url, cookies=cookies)

Features

  • Returns decrypted cookies from Google Chrome on OSX or Linux.

About

Borrow cookies from your browser's authenticated session for use in Python scripts.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 81.9%
  • Makefile 18.1%