Just small corrections
- error handling in nmcli
- Added 404 error
search = os.system("nmcli")
if search == False:
It will look for the nmcli command, if not, just go to the next command in the script
else:
pass
There was a 404 error added
elif r.status_code == 404:
colorama.init()
print(Fore.RED)
print("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
print()
print("Tor is not found", "Status Code: " ,r.status_code)
print()
print("Proxy is not found!", "Status Code: " ,proxy.status_code)
print()
print("vpnproton is not found!", "Status Code: " ,vpnproton.status_code)
print()
print("free-proxy-list is not blocked!", "Status Code: " ,proxylist.status_code)
print()
print("Proxy_list2 is not blocked!", "Status Code: " ,proxylist2.status_code)
...