created | updated |
---|---|
2023-07-02 18:51:27 +0800 |
2023-07-02 18:55:06 +0800 |
调试模式启动chrome浏览器
windows
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --remote-allow-origins=*
macos
sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --remote-allow-origins=*
python3 -m pip install -r req.txt
req.txt内容如下
Flask
pychrome
requests
安装需要的各种库
运行chrome_cdp.py并输入对应的参数 解密和加密各可以为空,以满足一些站点请求是明文但响应不是明文
在插件中设置好各种值即可正常使用
现有5个title
可以设置为666699、7777888、99999999999
不能设置为777、8888、999(因为这些在title中可以找到多个)
先打开一个普通的谷歌浏览器在打开一个调试模式的谷歌浏览器不行,必须先以调试模式打开谷歌浏览器
https://zhaomenghuan.js.org/blog/chrome-devtools.html#chrome-devtools-protocol
https://chromedevtools.github.io/devtools-protocol/tot/Debugger/