fix(downloads): defer captured cookies for metadata probes (#16)

Fixes #16
This commit is contained in:
NimBold
2026-07-14 01:19:00 +03:30
parent c78a72a8d7
commit 80cf835060
3 changed files with 223 additions and 27 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ import type { PlatformInfo } from './bindings/PlatformInfo';
type CommandMap = {
fetch_metadata: {
args: { url: string; userAgent: string | null; username: string | null; password: string | null; headers: string | null; cookies: string | null; proxy: string | null };
args: { url: string; userAgent: string | null; username: string | null; password: string | null; headers: string | null; cookies: string | null; proxy: string | null; deferCookies?: boolean };
result: MetadataResponse;
};
fetch_media_metadata: {