dump
| exchange | routing key |
|---|---|
worker_exchange | node{nodeId}.dump |
作用
调用本接口获取当前profile的cookie和localStorage,用于保存登陆态。
入参
| 字段 | 类型 | 说明 |
|---|---|---|
| taskId | string | 任务ID, 流式响应会同样携带此ID |
| profileId | string | 账号标识 |
响应
| 字段 | 类型 | 说明 |
|---|---|---|
| cookies | { name: string; value: string; domain: string; path: string; expires: number; httpOnly: boolean; secure: boolean; sameSite: "Strict" | "Lax" | "None"; }[] | Cookies to set for context |
| origins | { origin: string; localStorage: { name: string; value: string; }[]; }[] | localStorage to set for context |