为什么抓不到 scrapy 的包
資深大佬 : tuoov 2
开着 fiddler 干别的事情,一段时间后发现完全没有爬虫程序的记录。 程序和 fiddler 都在正常工作,用的是最新的 fiddler everywhere,开了捕获 https 请求。 请知道的大佬解释下原因
大佬有話說 (6)
开着 fiddler 干别的事情,一段时间后发现完全没有爬虫程序的记录。 程序和 fiddler 都在正常工作,用的是最新的 fiddler everywhere,开了捕获 https 请求。 请知道的大佬解释下原因
原因就是 1&2
设置环境变量 http_proxy 及 https_proxy 为 fiddler 代理服务器的地址
linx
“`sh
#host 为 fiddler 所在 IP,8888 是 fiddler 默认端口号 如:
export http_proxy=http://localhost:8888
export https_proxy=http://localhost:8888
“`
windows
“`sh
set http_proxy=http://localhost:8888
set https_proxy=http://localhost:8888
“`