IProxyConfiguration
Implemented by
Index
Methods
Methods
newProxyInfo
Creates a new ProxyInfo object describing the proxy to use. Returns
undefinedwhen no proxy should be used.Parameters
optionalproxyInfo: ProxyInfo
A previously created
ProxyInfo, e.g. one restored with a persisted session. Implementations should return an equivalentProxyInfothat is usable in the current environment, or the argument itself when there is nothing to refresh.
Returns Promise<undefined | ProxyInfo>
Minimal contract that any object passed to a crawler as its
proxyConfigurationoption must satisfy.Implement this interface to plug a custom proxy-provisioning strategy into any Crawlee crawler — for example a remote proxy service or a thin wrapper around the built-in
ProxyConfigurationwith different rotation rules. *