mirror of
https://github.com/germondai/trawl.git
synced 2026-08-17 12:11:23 +02:00
feat(types): add per-request proxy override field
This commit is contained in:
@@ -16,6 +16,8 @@ export interface ScrapeRequest {
|
||||
maxTier?: 1 | 2 | 3 | 4
|
||||
sessionId?: string
|
||||
headers?: Record<string, string>
|
||||
// Per-request proxy override — bypasses the server-configured proxy pool for this call.
|
||||
proxy?: string
|
||||
}
|
||||
|
||||
export interface TierResult {
|
||||
@@ -67,6 +69,8 @@ export interface FlareSolverrRequest {
|
||||
maxTimeout?: number
|
||||
postData?: string
|
||||
headers?: Record<string, string>
|
||||
// TRAWL extension (not part of the FlareSolverr v2 contract) — per-request proxy override.
|
||||
proxy?: string
|
||||
}
|
||||
|
||||
export interface FlareSolverrResponse {
|
||||
|
||||
Reference in New Issue
Block a user