我想从python3 urllib请求中捕获https请求。这是我的代码:
proxies = {'http': 'http://localhost:8888', 'https':'http://localhost:8888','http': 'http://127.0.0.1:8888', 'https':'http://127.0.0.1:8888'}
proxy_support = urllib.request.ProxyHandler(proxies=self.proxies)
opener = urllib.request.build_opener(proxy_support)
urllib.request.install_opener(opener)
req = urllib.request.Request(url)
我大方地启用了Fiddler的 https 软件包捕获。但这似乎没有效果。我的代码有什么问题?该代码可能不使用任何代理。