browser-cookie3
Loads cookies from your browser into a cookiejar object so can download with urllib and other libraries the same content you see in the web browser.
Decision gist · record as of 2026-08-14
Yes, if you need to reuse browser cookies for web scraping or automation. Install friction is low and there are no known vulnerabilities. The main caveat is dormant maintenance (last release 602 days ago), so compatibility with very new browser versions is uncertain; test against your target browsers first. The lgpl copyleft license is permissive for most use cases but requires derivative works to remain open-source.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires browser cookie files to exist locally; supported browsers must have been used on the system and have stored cookies in their default locations.
- Low install friction with a pure-Python wheel.
- Maintenance is dormant (last release 602 days ago), though the repository remains active with 1066 stars and a recent commit on 2024-12-20.
License · maintenance · safety
lgpl (copyleft) — Licensed under lgpl (copyleft). You may use and modify the package freely, but any derivative work must also be distributed under copyleft terms.
last release 2024-12-20 (602 days) · last repo commit 2024-12-20 · 1,066 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,939,881 downloads/mo, #2,816 on PyPI
Alternatives
Verify before relying
pip install browser-cookie3
import browser_cookie3
cj = browser_cookie3.chrome()
cj = browser_cookie3.load()
cj = browser_cookie3.firefox(domain_name='example.com')- Whether dbus-python and jeepney dependencies are required on all platforms or only Linux/macOS systems.
- Current compatibility with modern browser versions beyond the last tested dates in documentation.
- Whether shadowcopy dependency is actively maintained and what role it plays.
- How lz4 and pycryptodomex are used in cookie decryption and storage access.
What it is and what it does
browser-cookie3 is a Python library that reads cookies stored by your web browser (Chrome, Firefox, Safari, Edge, Brave, Opera, and others) and exposes them as a standard Python cookiejar object. This allows you to use those cookies with HTTP libraries to make authenticated requests without needing to log in programmatically or manage credentials directly.
The package works by locating and parsing the browser's local cookie storage—typically SQLite databases or text files depending on the browser—and decrypting them where necessary. You can load all cookies from all browsers, filter by a specific browser, or filter by domain. It includes both a Python API and a command-line interface for extracting individual cookies.
Use it for
- Web scraping sites where you're already logged in, reusing your browser session to avoid re-authentication.
- Automated testing of web applications using your real user session and cookies.
- Downloading content from authenticated services without hardcoding credentials in your scripts.
- Building tools that interact with web APIs on your behalf using your existing browser login state.
- Extracting specific cookies from your browser for use in curl, wget, or other tools via the CLI.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to reuse browser cookies for web scraping or automation.
Install friction is low and there are no known vulnerabilities. The main caveat is dormant maintenance (last release 602 days ago), so compatibility with very new browser versions is uncertain; test against your target browsers first. The lgpl copyleft license is permissive for most use cases but requires derivative works to remain open-source.
Install
browser-cookie3 on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance is dormant (last release 602 days ago), though the repository remains active with 1066 stars and a recent commit on 2024-12-20. No security vulnerabilities reported.
Requires browser cookie files to exist locally; supported browsers must have been used on the system and have stored cookies in their default locations.
License in practice
Licensed under lgpl (copyleft). You may use and modify the package freely, but any derivative work must also be distributed under copyleft terms.
Quickstart
pip install browser-cookie3
import browser_cookie3
cj = browser_cookie3.chrome()
cj = browser_cookie3.load()
cj = browser_cookie3.firefox(domain_name='example.com')
Verify before relying
- Whether dbus-python and jeepney dependencies are required on all platforms or only Linux/macOS systems.
- Current compatibility with modern browser versions beyond the last tested dates in documentation.
- Whether shadowcopy dependency is actively maintained and what role it plays.
- How lz4 and pycryptodomex are used in cookie decryption and storage access.
Package facts
| License | lgpl copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packageslz4pycryptodomexdbus-pythonjeepneyshadowcopy |
| Maintenance | Dormant 602 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,939,881 / month, #2,816 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: browser_cookie3-0.20.1-py3-none-any.whl
Tags
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 › “browser cookie extraction”
- browser-cookie3Extracts cookies from your browser's local storage and loads them…
- pycookiecheatExtracts and decrypts cookies from Chrome, Firefox, Brave, and Slack…
- streamlit-cookies-controllerProvides read, write, and delete operations on browser cookies from a…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also cookies · pycookiecheat · fetch-use · streamlit-cookies-controller · flask-unsign · macaroonbakery · primp · scrapy-impersonate · django-cookie-consent · MechanicalSoup