1. Fiddler

Fiddler is a powerful packet capture tool that works as a Web proxy server:

2. Fiddler configuration

2.1 Allow HTTPS listening

If you need to further configure Fiddler to grab HTTPS sessions, go to Tools >Options, select the HTTPS TAB and configure it as follows:

2.2 Remote Connections are allowed

To configure remote connection for mobile scraping, go to Tools >Options, select Connections TAB and configure as follows:

Listen for port 8888 and allow remote connections

The firewall needs to open port 8888


3. Phone configuration

Requires the computer and the phone to be on the same network segment (e.g. the same LAN)

The iphone, for example

3.1 Downloading a Certificate

Open your phone’s browser and enter http://fiddler COMPUTER IP address: [port number set by fiddler], for examplehttp://192.168.123.100:8888You can download the certificate and install it. On the page that opens, click FiddlerRoot Certificate to download the certificate and click Allow

3.2 Installing certificates

In Settings, click Profile Downloaded

Click Install to Install the certificate

The download path is different for different system phones, such as: Settings -> General -> About Local -> Certificate trust Settings

3.3 Configuring the Proxy

Configure an agent for mobile phone wireless signals

Mobile phone Settings -> WLAN -> Wireless Network -> HTTP Proxy, select Manual, Server is the Fiddler COMPUTER IP address, port number is the Fiddler port number:

When you manipulate the browser or APP, you can see the completed request and response data in Fiddler: