How to validate a bunch of proxies against a URL?
- by NJTechGuy
I have a list of 100 proxies. The URL I am interested in is abc.com. I want to check the number of proxies which can successfully fetch this URL and the time taken for the same. I am hoping I made sense. I am a Python noob. I am looking for a code snippet. A helping hand is really appreciated :)
Proxies :
200.43.54.212
200.43.54.212
200.43.54.212
200.43.54.212
URL :
abc.com
Desired result :
Proxy isGood Time
200.43.54.112 n 23.12
200.43.54.222 n 12.34
200.43.54.102 y 11.09
200.43.54.111 y 8.85
p.s : All the above proxies have ports either 80 or 8080