Advertisement
dereksir

Untitled

Feb 10th, 2024
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. # pip install requests
  2. import requests
  3.  
  4. url = "https://httpbin.io/anything"
  5. proxy = "http://<YOUR_ZENROWS_API_KEY>:js_render=true&premium_proxy=true@proxy.zenrows.com:8001"
  6. proxies = {"http": proxy, "https": proxy}
  7. response = requests.get(url, proxies=proxies, verify=False)
  8. print(response.text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement