![]() |
|
How to see API call of websites in Chrome using Python? Alternatively, for a slightly more conversational to - Printable Version +- Proxy Community (https://proxycommunity.com/forum) +-- Forum: Use Case (https://proxycommunity.com/forum/forum-use-case) +--- Forum: Web Scraping (https://proxycommunity.com/forum/forum-web-scraping) +--- Thread: How to see API call of websites in Chrome using Python? Alternatively, for a slightly more conversational to (/thread-how-to-see-api-call-of-websites-in-chrome-using-python-alternatively-for-a-slightly-more-conversational-to) |
“” - StealthIP99 - 24-03-2025 For a quick and dirty method, just use logging in Chrome DevTools and copy the requests manually. Sometimes automation isn’t worth the effort if you only need a few calls. But if you’re set on how to see api call of websites in chrome python, go with Pyppeteer or Playwright. “” - proxyByteX77 - 24-03-2025 Wow, thanks for all the suggestions! Playwright and selenium-wire look especially promising. I tried the Pyppeteer snippet, and it worked, but the HAR logging in Selenium seems even cleaner. Quick Q: anyone know if mitmproxy slows down the browsing speed significantly? Might give that a shot too. Thanks again, y’all are legends! 🙏 |