Closed fazialnjd closed 6 months ago
Hi. This is my code; and I get this error.
file1 = open("http.txt", 'r') Lines = file1.readlines() for line in Lines: line = line.strip('\n') proxies = { "http": 'http://' + line, "https": 'https://' + line, } response = requests.get('https://icanhazip.com/', proxies=line)
How can I solve it? Thanks.
@frida96 Share your error message along with the full code snippet
response = requests.get('https://icanhazip.com/', proxies=proxies)
Hi. This is my code; and I get this error.
How can I solve it? Thanks.