Hey! I’ve been down the selenium scraping youtube yt-dlp rabbit hole too. One thing that helped me was using a combination of `yt-dlp` and `ffmpeg` for downloading. It’s way more stable.
For dynamic content, try using `execute_script` in Selenium to force-scroll the page until everything loads. It’s not elegant, but it works.
Also, YouTube’s layout changes are insane. I’ve started versioning my scripts so I can roll back when things break.
For dynamic content, try using `execute_script` in Selenium to force-scroll the page until everything loads. It’s not elegant, but it works.
Also, YouTube’s layout changes are insane. I’ve started versioning my scripts so I can roll back when things break.
