首页 > 编程语言 > 详细

python爬虫 mac下安装使用Fiddler

时间:2018-10-13 20:17:28      阅读:193      评论:0      收藏:0      [点我收藏+]

HTTP代理工具Fiddler

Fiddler是一款强大Web调试工具,它能记录所有客户端和服务器的HTTP请求.

Getting started

  1. 在安装之前需要准备Mono环境 If you don’t have the Mono framework installed on your Mac

  2. Please download it from http://www.mono-project.com/download/#download-mac and install it. If you already have it installed, ensure you’re running the latest version.

  3. If you just installed Mono

    Please open Terminal and type in:

     

    /Library/Frameworks/Mono.framework/Versions/<Mono Version>/bin/mozroots --import --sync

    (The Mono framework has its own trusted root certificates store. Currently (at mono version 4.2.4) this store remains empty after installing Mono on OS X. Fiddler uses the certificates in this store to validate the certificates of the websites visited. So you need to populate this store with a set of commonly trusted root authorities to avoid getting constant certificate warnings from Fiddler. The mozroots tool imports trusted authorities from the Mozilla LXR. )

  4. Extract fiddler-mac.zip to a folder you have write access to.

    It is recommended that the full path to Fiddler install folder does not contain any Windows path illegal characters. (At present it is possible that some Fiddler functionality, e.g. various file exports or Fiddler Script won’t handle such paths.)

  5. Open Terminal and navigate to the folder you extracted to in step 3.

     

  6. Type mono Fiddler.exe in Terminal.

转自 https://www.telerik.com/download/fiddler/fiddler-osx-beta

 

 

python爬虫 mac下安装使用Fiddler

原文:https://www.cnblogs.com/wangjiale1024/p/9783957.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!