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.
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.