use http proxies python requestsd code example
Example: python requests get proxy
import requests
proxies = { "http": "http://10.10.10.10:8000",
"https": "https://10.10.10.10:8000"
}
r = requests.get("http://toscrape.com", proxies=proxies)