mirror of
https://github.com/MatrixTM/MHDDoS.git
synced 2024-11-16 03:32:32 +08:00
Merge pull request #288 from dave9123/patch-1
Fixed form to from in line 981 and 999
This commit is contained in:
commit
dc3e841cdb
4
start.py
4
start.py
|
@ -978,7 +978,7 @@ class ProxyManager:
|
|||
provider for provider in cf["proxy-providers"]
|
||||
if provider["type"] == Proxy_type or Proxy_type == 0
|
||||
]
|
||||
logger.info("Downloading Proxies form %d Providers" % len(providrs))
|
||||
logger.info("Downloading Proxies from %d Providers" % len(providrs))
|
||||
proxes: Set[Proxy] = set()
|
||||
|
||||
with ThreadPoolExecutor(len(providrs)) as executor:
|
||||
|
@ -996,7 +996,7 @@ class ProxyManager:
|
|||
@staticmethod
|
||||
def download(provider, proxy_type: ProxyType) -> Set[Proxy]:
|
||||
logger.debug(
|
||||
"Downloading Proxies form (URL: %s, Type: %s, Timeout: %d)" %
|
||||
"Downloading Proxies from (URL: %s, Type: %s, Timeout: %d)" %
|
||||
(provider["url"], proxy_type.name, provider["timeout"]))
|
||||
proxes: Set[Proxy] = set()
|
||||
with suppress(TimeoutError, exceptions.ConnectionError,
|
||||
|
|
Loading…
Reference in New Issue
Block a user