[common] support multiple codes/blocks for '--xff'
for example '--xff JP,CN,105.48.0.0/12'
This commit is contained in:
@@ -973,21 +973,24 @@ Description
|
||||
extractor.*.geo-bypass
|
||||
----------------------
|
||||
Type
|
||||
``string``
|
||||
* ``string``
|
||||
* ``list`` of ``string``
|
||||
Default
|
||||
``"auto"``
|
||||
Example
|
||||
* ``"JP"``
|
||||
* ``"105.48.0.0/12"``
|
||||
* ``"JP,CN,105.48.0.0/12"``
|
||||
* ``["JP", "CN", "105.48.0.0/12"]``
|
||||
Description
|
||||
Use fake IPs as
|
||||
Use a random IP as fake
|
||||
`X-Forwarded-For <https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-For>`__
|
||||
header to try bypassing geographic restrictions.
|
||||
|
||||
| Can be either an
|
||||
| Can be either
|
||||
`ISO 3166-2 <https://en.wikipedia.org/wiki/ISO_3166-2>`__
|
||||
country code
|
||||
| or an IP block in CIDR notation.
|
||||
country codes
|
||||
| or IP blocks in CIDR notation.
|
||||
|
||||
|
||||
extractor.*.headers
|
||||
|
||||
@@ -93,9 +93,9 @@
|
||||
--http-timeout SECONDS Timeout for HTTP connections (default: 30.0)
|
||||
--proxy URL Use the specified proxy
|
||||
--xff VALUE Use a fake 'X-Forwarded-For' HTTP header to try
|
||||
bypassing geographic restrictions. Can be an IP
|
||||
block in CIDR notation or a two-letter ISO
|
||||
3166-2 country code
|
||||
bypassing geographic restrictions. Can be IP
|
||||
blocks in CIDR notation or two-letter ISO
|
||||
3166-2 country codes (12.0.0.0/8,FR,CN)
|
||||
--source-address IP Client-side IP address to bind to
|
||||
-4, --force-ipv4 Make all connections via IPv4
|
||||
-6, --force-ipv6 Make all connections via IPv6
|
||||
|
||||
Reference in New Issue
Block a user