mirror of
https://github.com/bohd4nx/FragmentAPI.git
synced 2026-08-13 06:43:06 +00:00
25 lines
739 B
Markdown
25 lines
739 B
Markdown
# Cookie Extraction Details
|
|
|
|
`get_cookies_from_browser(browser)` reads Fragment cookies from local browser storage (via `rookiepy`).
|
|
|
|
This is the fastest way to start when you do not want manual cookie export.
|
|
|
|
Supported browsers are defined in constants and include:
|
|
|
|
- chrome, firefox, edge, brave,
|
|
- arc, opera, opera_gx,
|
|
- safari, vivaldi,
|
|
- chromium variants.
|
|
|
|
Validation includes:
|
|
|
|
- required key presence,
|
|
- non-empty values,
|
|
- optional expiration check for `stel_ssid`.
|
|
|
|
**If any required cookie is empty or missing, extraction is treated as failed.**
|
|
|
|
If extraction fails, `CookieError` is raised with actionable details.
|
|
|
|
Use [Credentials and Cookies](../getting-started/credentials-and-cookies.md) for setup-first instructions.
|