fix: default cookie timeout 30s

This commit is contained in:
Peter Steinberger
2026-01-01 12:10:36 +01:00
parent 14ad6cf73f
commit 19841a6a75
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
- Query ID updater now tracks Following/Followers GraphQL operations.
- Query ID updater now tracks BookmarkFolderTimeline and keeps bookmark query IDs seeded.
- `following`/`followers` JSON user fields are now camelCase (`followersCount`, `followingCount`, `isBlueVerified`, `profileImageUrl`, `createdAt`).
- Cookie extraction timeout is now configurable (default 20s on macOS) via `--cookie-timeout` / `BIRD_COOKIE_TIMEOUT_MS`.
- Cookie extraction timeout is now configurable (default 30s on macOS) via `--cookie-timeout` / `BIRD_COOKIE_TIMEOUT_MS`.
## 0.4.1 — 2025-12-31
### Added
+1 -1
View File
@@ -129,7 +129,7 @@ Example `~/.config/bird/config.json5`:
// Cookie source order for browser extraction (string or array)
cookieSource: ["firefox", "safari"],
firefoxProfile: "default-release",
cookieTimeoutMs: 20000,
cookieTimeoutMs: 30000,
timeoutMs: 20000,
quoteDepth: 1
}
+1 -1
View File
@@ -22,7 +22,7 @@ export type CookieSource = 'safari' | 'chrome' | 'firefox';
const TWITTER_COOKIE_NAMES = ['auth_token', 'ct0'] as const;
const TWITTER_URL = 'https://x.com/';
const TWITTER_ORIGINS: string[] = ['https://x.com/', 'https://twitter.com/'];
const DEFAULT_COOKIE_TIMEOUT_MS = 20_000;
const DEFAULT_COOKIE_TIMEOUT_MS = 30_000;
function normalizeValue(value: unknown): string | null {
if (typeof value !== 'string') {