Answer the question
In order to leave comments, you need to log in
Proxy requests?
try:
f=open('proxy.txt','r')
except IOError:
print("Error. File './%s' not found!")
sys.exit(1)
pr_list=f.readlines()
while i < len(pr_list):
proxyDict = {
"https" : pr_list[i].strip()
}
print(requests.post('https://2ip.ru',proxies=proxyDict))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question