Skip to main content

Proxy Configuration

string
Use the specified HTTP/HTTPS/SOCKS proxyTo enable SOCKS proxy, specify a proper scheme, e.g. socks5://user:pass@127.0.0.1:1080/Pass in an empty string (--proxy "") for direct connectionExample:

Connection Settings

number
Time to wait before giving up, in secondsExample:
string
Client-side IP address to bind toExample:

Impersonation

string
Client to impersonate for requestsFormat: CLIENT[:OS]Pass --impersonate="" to impersonate any client.Note: Forcing impersonation for all requests may have a detrimental impact on download speed and stabilityExample:
flag
List available clients to impersonate

IP Version

flag
Make all connections via IPv4
flag
Make all connections via IPv6

File URLs

flag
Enable file:// URLsThis is disabled by default for security reasons

Geo-restriction

string
Use this proxy to verify the IP address for some geo-restricted sitesThe default proxy specified by --proxy (or none, if the option is not present) is used for the actual downloadingExample:
string
How to fake X-Forwarded-For HTTP header to try bypassing geographic restrictionValues:
  • default - Only when known to be useful
  • never - Never fake the header
  • IP block in CIDR notation (e.g., 1.2.3.4/24)
  • Two-letter ISO 3166-2 country code (e.g., US)
Example: