简体   繁体   中英

can I access to network tab of google chrome developer tools with python?

I tried to get some information in a request in some web pages and I need some information that can find it from network tab of google chrome developer tools for example when I click on followers on Instagram web, the browser sends a GET method with a parameter named "query_id", I want to find it, I can find it in network tab in google chrome dev tools but now I want to find this parameter with python, how can I do it? is there any way that I access network tab with python?

Would a Node.js solution work instead? Puppeteer may help you accomplish this task.

If not, search around for Python libraries that interact with the Chrome DevTools Protocol . This protocol gives you a lot of low-level information about pages.

I used Selenium to do this. Try logging the performance and find the information you used to find in the network tab.

Check out this answer below:

https://stackoverflow.com/a/68363046/8491363

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM