Merge pull request #171 from MrBrain295/patch

Fix grammar
This commit is contained in:
MH_ProDev 2022-03-04 11:20:07 +03:30 committed by GitHub
commit 2f072a28ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -895,7 +895,7 @@ class ToolsConsole:
'status: %s') % (r.status_code,
"ONLINE" if r.status_code <= 500 else "OFFLINE"))
return
print("Error! ")
print("Error!")
if cmd == "INFO":
while True:
@ -1075,7 +1075,7 @@ if __name__ == '__main__':
if not referers: exit("Empty Referer File ")
if proxy_ty not in {4, 5, 1, 0}: exit("Socks Type Not Found [4, 5, 1, 0]")
if threads > 1000: logger.warning("thread is higher than 1000")
if threads > 1000: logger.warning("Thread is higher than 1000")
if rpc > 100: logger.warning("RPC (Request Pre Connection) is higher than 100")
if not proxy_li.exists():
@ -1083,7 +1083,7 @@ if __name__ == '__main__':
proxy_li.parent.mkdir(parents=True, exist_ok=True)
with proxy_li.open("w") as wr:
Proxies: Set[Proxy] = ProxyManager.DownloadFromConfig(con, proxy_ty)
logger.info(f"{len(Proxies):,} Proxies are getting checked, this may take awhile !")
logger.info(f"{len(Proxies):,} Proxies are getting checked, this may take awhile!")
Proxies = ProxyChecker.checkAll(Proxies, url.human_repr(), 1, threads)
if not Proxies: exit(
"Proxy Check failed, Your network may be the problem | The target may not be"
@ -1095,7 +1095,7 @@ if __name__ == '__main__':
proxies = ProxyUtiles.readFromFile(proxy_li)
if not proxies:
logger.info("Empty Proxy File, Running flood witout proxy")
logger.info("Empty Proxy File, running flood witout proxy")
proxies = None
if proxies:
logger.info(f"Proxy Count: {len(proxies):,}")