Skip to main content

Browser Cookie Management

Project description

BuildStatus CoverageStatus

Browser Cookie Management

Overview

Firefox and Chrome Cookie management. (Chrome requires SQLite 3.8 or greater.)

Install

pip install cookie-eater

CI tests run on:

  • Python 2.6+
  • Python 3.3+
  • Pypy

Example Usage

import cookie_eater

fox = cookie_eater.FirefoxCookies()
# Automatically uses the DB of the default profile, can specify db=<path>

fox.add_cookie("example.com", "MyCookie", "Cookie contents!")

fox.find_cookies(host="Example")
# [{'host': u'example.com', 'name': u'MyCookie', 'value': u'Cookie contents!'}]

fox.delete_cookie("example.com", "MyCookie")

Download files

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

Files for cookie-eater, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size cookie_eater-1.0.0-py3-none-any.whl (12.0 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size cookie_eater-1.0.0-py2-none-any.whl (12.0 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size cookie-eater-1.0.0.tar.gz (8.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page