View Single Post
Old 06-26-2017, 05:37 AM   #6
Keltia
Member
Keltia began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Nov 2013
Device: Pocketbook Lux 3 / iPad Mini retina/iPhone 6
Quote:
Originally Posted by kovidgoyal View Post
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
Keltia is offline   Reply With Quote