Yeah, selenium scraping youtube has been a nightmare lately. I switched to using undetected-chromedriver instead of regular selenium—helps a bit with CAPTCHAs but not perfect.
For dynamic content, try forcing scrolls with JS like `window.scrollTo(0, document.body.scrollHeight)` to trigger lazy loading.
Also, check out Bright Data’s anti-detection browser—kinda pricey but works for heavy scraping.
For dynamic content, try forcing scrolls with JS like `window.scrollTo(0, document.body.scrollHeight)` to trigger lazy loading.
Also, check out Bright Data’s anti-detection browser—kinda pricey but works for heavy scraping.
