Man, Selenium scraping YouTube is a nightmare.
I had success with `selenium-wire` to intercept API calls instead of scraping the frontend. Way cleaner if you can reverse-engineer the endpoints.
For throttling, space out your requests and use rotating proxies. `brightdata.com` has good ones.
Captchas? RIP. Maybe try a different approach altogether.
I had success with `selenium-wire` to intercept API calls instead of scraping the frontend. Way cleaner if you can reverse-engineer the endpoints.
For throttling, space out your requests and use rotating proxies. `brightdata.com` has good ones.
Captchas? RIP. Maybe try a different approach altogether.
