Tutorial on how to install mitmproxy and use it with selenium

1. Go to the Python official website to download the specified version

https://www.python.org/downloads/windows/

2. Install separately
pip install mitmproxy
pip install selenium
pip install m3u8
pip install requests
pip install bs4
pip install pycryptodome

3.cmd start

 4. Install the corresponding Chrome driver

Address one:
http://chromedriver.storage.googleapis.com/index.html
 
Address two:
https://registry.npmmirror.com/binary.html?path=chromedriver/

5. Install the mitmproxy certificate and take the next step except for the screenshot.

MAC m1 installation certificate

command + shift + . show hidden directories

Enter this directory and find him mitmproxy-ca-cert.pem installation

 

Double click on it install then always trust see image below

that's it

 

 

Guess you like

Origin blog.csdn.net/qq_41638825/article/details/129975092