Quote:
Originally Posted by kovidgoyal
|
Yes, looking around in Python's source, there is an OS X specific module called _scproxy supposedly abel to call OS X native API to get this information.
Code:
Python 2.7.10 (default, Feb 6 2017, 23:53:20)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from _scproxy import _get_proxy_settings, _get_proxies
>>> _get_proxies()
{}
Does not look promising