Skip to main content

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

Project description

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.

History

0.1.0 (2015-02-25)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycookiecheat-0.1.5.tar.gz (12.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page