mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 07:25:08 +00:00
Deployed f10b8dcf with MkDocs version: 1.6.1
This commit is contained in:
@@ -2852,10 +2852,10 @@ up the objects your methods rely on, such as <code>self.session</code>, <code>se
|
||||
The attributes table of <a class="autorefs autorefs-internal" title="<code class="doc-symbol doc-symbol-heading doc-symbol-class"></code> <span class="doc doc-object-name doc-class-name">Service</span>" href="../../reference/api/service/#unshackle.core.service.Service"><code>Service</code></a> lists each one.
|
||||
<a href="#request-and-http-session-objects">Request and HTTP session objects</a> explains the main ones.</p>
|
||||
<p>The constructor also resolves proxies: it reads <code>--proxy</code>, which <code>dl</code> and <code>search</code> have already
|
||||
resolved through the per-service <code>proxy_map</code>, and, if <code>GEOFENCE</code> is set and you did not give an explicit proxy, does a live
|
||||
IP check and auto-fetches a proxy to <code>GEOFENCE[0]</code> when it detects a geoblock. A
|
||||
<code>GEOBLOCK</code> hit with no <code>GEOFENCE</code> stops the run with a "not available in your region"
|
||||
error, because there is no main region to fetch a proxy for; pass <code>--proxy</code> yourself.
|
||||
resolved through the per-service <code>proxy_map</code>. Without an explicit proxy, it does a live IP check
|
||||
and, when it detects a geoblock, fetches a proxy to the first <code>GEOFENCE</code> region that <code>GEOBLOCK</code>
|
||||
allows, as the attributes of <a class="autorefs autorefs-internal" title="<code class="doc-symbol doc-symbol-heading doc-symbol-class"></code> <span class="doc doc-object-name doc-class-name">Service</span>" href="../../reference/api/service/#unshackle.core.service.Service"><code>Service</code></a> give. When no such region
|
||||
is left, the run stops with a "not available in your region" error; pass <code>--proxy</code> yourself.
|
||||
A proxy whose exit is in a <code>GEOBLOCK</code> region stops the run the same way. A proxy whose exit is
|
||||
outside <code>GEOFENCE</code> logs a warning and the run continues.
|
||||
See <a href="../../guide/proxies-and-vpn/">Proxies and VPN</a>.</p>
|
||||
|
||||
Reference in New Issue
Block a user