-
darc.proxy.tor.
TOR_REQUESTS_PROXY
: Dict[str, Any]¶ Proxy for Tor sessions.
See also
darc.requests.tor_session()
-
darc.proxy.tor.
TOR_SELENIUM_PROXY
: selenium.webdriver.common.proxy.Proxy¶ Proxy
for Tor web drivers.See also
darc.selenium.tor_driver()
The following constants are configuration through environment variables:
-
darc.proxy.tor.
TOR_PASS
: str¶ Tor controller authentication token.
Note
If not provided, it will be requested at runtime.
-
darc.proxy.tor.
BS_WAIT
: float¶ Time after which the attempt to start Tor is aborted.
- Default
90
- Environ
TOR_WAIT
Note
If not provided, there will be NO timeouts.
-
darc.proxy.tor.
TOR_CFG
: Dict[str, Any]¶ Tor bootstrap configuration for
stem.process.launch_tor_with_config()
.- Default
{}
- Environ
Note
If provided, it will be parsed from a JSON encoded string.
The following constants are defined for internal usage:
-
darc.proxy.tor.
_TOR_PROC
: subprocess.Popen¶ Tor proxy process running in the background.
-
darc.proxy.tor.
_TOR_CTRL
: stem.control.Controller¶ Tor controller process (
stem.control.Controller
) running in the background.
-
darc.proxy.tor.
_TOR_CONFIG
: List[str]¶ Tor bootstrap configuration for
stem.process.launch_tor_with_config()
.