I am trying to access the web via a proxy server in Python. I am using the requests library and I am having an issue with authenticating my proxy as the proxy I am using req
You can use urllib library for this.
urllib
from urllib import request request.urlopen("your URL", proxies=request.getproxies())