python爬虫 mac下安装使用Fiddler

Posted jwang106

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python爬虫 mac下安装使用Fiddler相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

Python3 爬虫15_Fiddler抓包分析

Python爬虫安装 pyQuery 遇到的坑 Could not find function xmlCheckVersion in library libxml2. Is libxml2 ins(代

mac下Fiddler的安装-启动

Mac 下使用 Fiddler

Mac下安装Fiddler抓包工具(别试了,会报错,没办法使用)

mac下使用mono运行Fiddler!!