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

Uploaded Source

File details

Details for the file pycookiecheat-0.1.5.tar.gz.

File metadata

  • Download URL: pycookiecheat-0.1.5.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycookiecheat-0.1.5.tar.gz
Algorithm Hash digest
SHA256 41827b6b656c6fbae20144431c4b6a1e91e66d29758c5a88551c8ed501fca32e
MD5 3d25e16e99f942d35530011055d303f4
BLAKE2b-256 00cc8403a1c403e814a6d75e32327f7daaf6bddb0889eea82781139979034ef1

See more details on using hashes here.

Supported by

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