$npx skillfedfor your agent

pycookiecheat

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

With conditionsPyPI UtilitiesReleased Nov 2024109.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pycookiecheat-0.8.0-py3-none-any.whl
v0.8.0 · released 2024-11-03 · 2 runtime deps: cryptography, keyring

Yes, if you need to automate requests with browser authentication on macOS or Linux. Install friction is low, maintenance is active, and there are no known vulnerabilities. The MIT license poses no restrictions. Caveat: Linux users may need to install system packages for keyring support, and Windows is not supported.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • On Linux, you may need to install libsecret-1-dev and python3-gi system packages, and use --system-site-packages when creating a virtualenv.
  • Windows is not supported.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.

last release 2024-11-03 (649 days) · last repo commit 2026-06-29 · 820 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 109,657 downloads/mo, #12,505 on PyPI

Verify before relying

pip install pycookiecheat

from pycookiecheat import get_cookies, BrowserType

cookies = get_cookies('https://example.com')

# Or specify a different browser:
cookies = get_cookies('https://example.com', browser=BrowserType.FIREFOX)
  • Whether all Chromium-based browsers beyond Chrome, Brave, and Slack are supported via manual cookie_file paths
  • Whether Windows support has been added since the FAQ stated it was not planned
Same gist for agents: .md · .json

What it is and what it does

Pycookiecheat reads and decrypts cookies stored by your browser, allowing Python scripts to reuse an authenticated session without manual login. It works with Chrome, Firefox, Brave, and Slack on macOS and Linux, and can be used as either a command-line tool or imported as a library. The package handles browser-specific cookie storage formats and encryption, using cryptography and keyring to access stored credentials.

The main use case is automating requests that require browser authentication—for example, downloading files from a site where you're already logged in, or scraping pages that require a session. You pass a URL to get_cookies(), which returns decrypted cookies for that domain. The CLI can also output cookies in Netscape format for use with other tools.

Use it for

  • Automate downloads from authenticated websites by reusing your browser's session cookies
  • Scrape web pages that require login by borrowing cookies from your already-authenticated browser session
  • Export browser cookies to Netscape format for use with command-line tools
  • Build scripts that interact with web services you're logged into without hardcoding credentials
  • Test web applications by programmatically using cookies from a real browser session

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to automate requests with browser authentication on macOS or Linux.

Install friction is low, maintenance is active, and there are no known vulnerabilities. The MIT license poses no restrictions. Caveat: Linux users may need to install system packages for keyring support, and Windows is not supported.

Install

pycookiecheat on PyPI

Before you install

Low install friction with a pure-Python wheel. Maintenance is active with recent commits. Runtime dependencies are cryptography and keyring, both stable libraries. Linux users may need system packages for alternative keyring support.

On Linux, you may need to install libsecret-1-dev and python3-gi system packages, and use --system-site-packages when creating a virtualenv. Windows is not supported.

License in practice

MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install pycookiecheat

from pycookiecheat import get_cookies, BrowserType

cookies = get_cookies('https://example.com')

# Or specify a different browser:
cookies = get_cookies('https://example.com', browser=BrowserType.FIREFOX)

Verify before relying

  • Whether all Chromium-based browsers beyond Chrome, Brave, and Slack are supported via manual cookie_file paths
  • Whether Windows support has been added since the FAQ stated it was not planned

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
cryptographykeyring
MaintenanceActively maintained 649 days since the last release
Last repo commit
First released
Downloads109,657 / month, #12,505 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Natural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: pycookiecheat-0.8.0-py3-none-any.whl

Tags

Capabilities
extract browser cookies pythonchrome cookies python scriptdecrypt browser session cookiesbrowser authentication automationfirefox chrome cookie extraction
Topics
browser-automationcookie-handlingsession-reuse
PyPI keywords
pycookiecheatchromechromium cookiescookiesfirefox

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “extract browser cookies python”

  • pycookiecheatExtracts and decrypts cookies from Chrome, Firefox, Brave, and Slack…
  • browser-cookie3Extracts cookies from your browser's local storage and loads them…
  • uncurlConverts curl command-line requests into equivalent Python code using…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also browser-cookie3 · flask-unsign · cookies · macaroonbakery · primp · streamlit-cookies-controller · fetch-use · selenium · pymacaroons · django-cookie-consent