Closed nftmoe420 closed 2 years ago
any help ?
requests.exceptions.InvalidProxyURL: Please check proxy URL. It is malformed and could be missing the host.
Go inside of main.py and change the get_proxy function to the following:
def get_proxy(self):
if open("proxies.txt","r").read() == '':
return None
else:
proxies = {
"https":"http://"+random.choice(self.proxy),
"http":"http://"+random.choice(self.proxy)
}
return proxies
requests.exceptions.InvalidProxyURL: Please check proxy URL. It is malformed and could be missing the host.