Re:Web scraping via JavaScript runtime heap snapshots
by RockRobotRock on Saturday April 30, 2022 @05:04PM
(#31219349)
For this use-case, selenium-wire for Python could be really useful.
Re:Web scraping via JavaScript runtime heap snapshots
by tylergetsay on Saturday April 30, 2022 @07:33AM
(#31215202)
You can also inspect the application storage, monitor for cookie changes, etc using the dev tools protocol
If you can drive the browser using simple operations like keyboard commands, you can get the underlying data reliably by listening for matching 'response' events and handling the data as it comes in.
[1] https://github.com/puppeteer/puppeteer/blob/main/docs/api.md...