python requests use many proxy

Solutions on MaxInterview for python requests use many proxy by the best coders in the world

showing results for - "python requests use many proxy"
Fleur
03 Sep 2017
1import random
2import requests
3
4proxies_list = ["0.0.0.0","1.1.1.1","2.2.2.2","pr.kirekhar.com/pr"]
5
6r = requests.get('http://10.1.7.70:8000', proxies={
7    	'http': random.choice(proxies_list)
8	})