How to use python urllib PAC PAC file or request?
2 answers
There is currently no support for the PAC proxy file directly in urllib3 or requests. While support can in principle be added for PAC files with proxies as they are Javascript files that require interpretation, it is probably extremely difficult to provide broad support.
Basically you can use requests / urllib 3 to request a PAC Proxy file, then pipe it to something like Node.JS for interpretation, then parse the results in Python to pass urlib3 / requests, but nothing like that exists out of the box.
+5
source to share