Documentation
¶
Overview ¶
Package browser provides cookie extraction helpers for locally-installed web browsers. Only Firefox is supported in v0.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Firefox ¶
Firefox reads Twitter/X cookies from the default Firefox profile on the current machine and returns them in an http.CookieJar.
Firefox stores cookies in plain SQLite (no encryption), so no password is required. The function copies the live cookies.sqlite to a temporary file before reading it, because Firefox holds an exclusive write lock on the live database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.