简体   繁体   中英

How can I configure proxy settings using pure python with pywebkit

I came across this question while looking for an answer, but it uses ctypes to accomplish proxy configuration. Is there a way to do it with pure python, or is ctypes the only way?

There's a bug report on the upstream bug tracker that has a patch to add a set_proxy function to the webkit module.

As of now, it's not present in a released version, but building from git should allow it to be used.

http://code.google.com/p/pywebkitgtk/issues/detail?id=53

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM