3281448091 / Discord-Token-Gen

An auto discord account and token generator. Automatically verifies the phone number. Works without proxy. Bypasses captcha.
322 stars 91 forks source link

proxy malformed #108

Closed nftmoe420 closed 2 years ago

nftmoe420 commented 2 years ago

requests.exceptions.InvalidProxyURL: Please check proxy URL. It is malformed and could be missing the host.

nftmoe420 commented 2 years ago

any help ?

D3nnis24 commented 2 years ago

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