Answer the question
In order to leave comments, you need to log in
Is there a good proxy checker for python3?
Rummaged through the floor of the Internet and did not find a normal proxy checker.
Here is a screenshot of the proxy, I need it to take these proxies and check them directly in the code, and overwrite the proxies that work in the same file.
Please help, it's urgent.
Need code.
Answer the question
In order to leave comments, you need to log in
Proxy checker is done elementarily.
You go through the list of servers, using the requests library, make a request for a certain reference resource with the selected proxy, and compare the response with the response without a proxy. The answer coincided with the expected - add to the list of verified. Did not match or did not answer - in the list of unreliable.
In several threads, you simultaneously check several proxies.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question