Yo, headless puppeteer python is wild.
Try `--single-process` in launch args if you’re on Linux.
For CAPTCHAs, no real fix, but `puppeteer-extra` + random delays *might* help.
Also, `page.waitForXPath()` is underrated—super handy for dynamic stuff.
---
Wow, thanks everyone! Didn’t expect so many replies.
Tried `puppeteer-extra` with stealth and it’s way better. Still getting blocked sometimes though—anyone know if rotating user-agents mid-session helps?
Also, big shoutout for the `networkidle2` tip—pages actually load now lol.
CAPTCHAs still suck, but guess I’ll live with it. Cheers!
Try `--single-process` in launch args if you’re on Linux.
For CAPTCHAs, no real fix, but `puppeteer-extra` + random delays *might* help.
Also, `page.waitForXPath()` is underrated—super handy for dynamic stuff.
---
Wow, thanks everyone! Didn’t expect so many replies.
Tried `puppeteer-extra` with stealth and it’s way better. Still getting blocked sometimes though—anyone know if rotating user-agents mid-session helps?
Also, big shoutout for the `networkidle2` tip—pages actually load now lol.
CAPTCHAs still suck, but guess I’ll live with it. Cheers!
