QuickProxy Class
swiftshadow.QuickProxy(countries=[], protocol='http')
This function is a faster alternative to ProxyInterface
class.
No caching is done.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
countries
|
list[str]
|
ISO 3166-2 Two letter country codes to filter proxies. |
[]
|
protocol
|
Literal['http', 'https']
|
HTTP/HTTPS protocol to filter proxies. |
'http'
|
Returns:
Name | Type | Description |
---|---|---|
proxyObject |
Proxy
|
A working proxy object if found or else None. |