Has anyone tried Selenium scraping YouTube? Need tips for handling dynamic content! or Is Selenium sc

18 Replies, 750 Views

If you’re doing Selenium scraping YouTube, you gotta embrace the jank.

I found that waiting for specific network calls (using DevTools) works better than element waits. Check out `driver.execute_cdp_cmd('Network.enable', {})` to monitor requests.

For captchas, good luck. Maybe try headless mode with realistic mouse movements? `selenium-stealth` lib might help.

Messages In This Thread



Users browsing this thread: 1 Guest(s)