# borisbabic/browser_cookie3

This is a fork of browser_cookie

Repository: https://github.com/borisbabic/browser_cookie3
Canonical: https://ross.abutalabs.com/products/browser_cookie3
Language: Python
License: LGPL-3.0
License Family: copyleft
Last push: 2024-12-20T00:31:44+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4147, "days_push": 622, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1070, forks 167 (observed 2026-08-28T04:03:28.055926+00:00)

## What it is
A Python library (fork of browsercookie) that loads cookies from installed web browsers like Chrome, Firefox, Edge, Safari, and others into a cookiejar object. It lets Python scripts reuse browser login sessions with urllib or requests, and also offers a small command-line interface.

## Use cases
- download web pages with my logged-in browser session from python
- reuse chrome cookies in a requests script
- scrape a site without logging in programmatically
- extract cookies from firefox sqlite database
- load all browser cookies into a cookiejar
- filter cookies by domain for an http request
- export browser cookies from the command line

## When to choose
- you want Python scripts to authenticate using cookies already stored in a local browser
- you need to support many browsers (Chrome, Firefox, Edge, Safari, Brave, Opera, etc.)
- you want a quick pip-installable library plus a CLI for cookie extraction

## When to avoid
- you need to manage or create cookies server-side rather than read local browser stores
- your target environment has no user browser installed (e.g., headless servers, CI)
- decrypting local browser cookie stores raises privacy or compliance concerns for your use case

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping, security, cli
- domain: developer-tools, web-development, privacy
- platform: python, cross-platform, cli
- tags: cookies, browser-cookies, cookiejar, session-reuse, sqlite, command-line

## Member repositories
- borisbabic/browser_cookie3 (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:28.055926+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:54:00.393353+00:00, confidence not recorded.
  - readme: https://github.com/borisbabic/browser_cookie3 (fetched 2026-08-28T04:03:28.055926+00:00, sha f489576364fc)
  - registry_pypi: https://pypi.org/pypi/browser_cookie3/json (fetched 2026-08-29T12:56:25.707265+00:00, sha cdb08aa5d864)
- Data as of 2026-08-30T08:39:29.467469+00:00.
