cookie-puppeteer
Retrieve cookies exported by Export cookie JSON File Puppeteer extension
Installation
pip install cookie-puppeteer
Usage
from cookie_puppeteer import Puppeteer
cookies = Puppeteer("/home/smartwa/Downloads/gemini.google.com.cookies.json")
print(cookies.get("AEC"))
# Ae3NU9ORz35qy6ucvgm9D3U161kwUayh0dj*********
Console
$ cookie-puppeteer --help or $ cpt -h
usage: cookie-puppeteer [-h] [-v] [-k [KEY ...]] [-d [DEFAULT ...]]
[-i INDENT] [--whole]
PATH
Retrieve cookies exported by Export cookie JSON File Puppeteer extension
positional arguments:
PATH Path to cookie file
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-k [KEY ...], --key [KEY ...]
Set cookie value of this key
-d [DEFAULT ...], --default [DEFAULT ...]
Default cookie value incase of None
-i INDENT, --indent INDENT
Stdout all cookies with this indentation - 4
--whole Stdout whole cookie contents
Metadata
Release files for cookie-puppeteer 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cookie-puppeteer-0.0.1.tar.gz | 4.2 kB | Without provenance | Details for cookie-puppeteer-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cookie_puppeteer-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for cookie_puppeteer-0.0.1-py3-none-any.whl |
Total release size: 9.2 kB
Security for cookie-puppeteer 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.