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")
Release files for cookie-eater 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cookie-eater-1.0.0.tar.gz | 8.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cookie_eater-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
| cookie_eater-1.0.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 32.3 kB