Add the Chrome fallback and the needs-human flow.
Bot checks escalate to headless Chrome with stealth, which claims the same identity as tls-client and hands its cookies back to the jar. The visit counts against the rate limits. If Chrome can't clear a check, the URL is marked needs-human. Pressing Enter on it in the TUI, or running 'dibs solve', opens a visible window; dibs carries on once the page loads. Processes now merge the cookie file on save, with the newest cookie winning.
This commit is contained in:
1 parent
f2ea1297e8
commit
e2cbc1a55c
20 files changed
+905
-73
No files matched your search
@@ -81,6 +81,15 @@ func (n *Notifier) Send(ctx context.Context, a alert.Alert) error {
|
||||
return errors.Join(errs...)
|
||||
}
|
||||
|
||||
// Notice shows a desktop notification that is not an alert, such as a
|
||||
// request to solve a captcha. It does nothing when desktop notifications
|
||||
// are off.
|
||||
func (n *Notifier) Notice(title, message string) error {
|
||||
if !n.desktop { return nil }
|
||||
|
||||
return n.showToast(title, message)
|
||||
}
|
||||
|
||||
// Channels says where alerts go, for the startup log.
|
||||
func (n *Notifier) Channels() []string {
|
||||
var out []string
|
||||
|
||||
Reference in new issue
Block a user