Hacker News new | ask | show | jobs
by codetrotter 683 days ago
> You will not even have to worry about going to YouTube downloading websites, we can process videos straight from it.

I assume you use yt-dlp for this? In that case, look out for suddenly having your server IP banned by YouTube. I was running yt-dlp on a server for a long time (many months) and then one day it stopped working. And I wasn’t even auto-downloading videos. They were all manually triggered by me, to save copies of videos that I liked. So in total I was downloading far fewer videos on the server than the number of videos I was watching on my phone via the YouTube app on the phone.

2 comments

Thanks for the warning, I'm using yt-dlp so there is this risk that someday it will simply stop working. I'm currently always caching downloaded videos so that I will not have to download the same video more than once.

If we come to that, I'll definitely need to use a proxy service to work around it.

I've used ProxyMesh in the past for some WebScraping products (https://proxymesh.com/) and have been able to keep everything working for years so it may be a good workaround.

Might be a good reason to use proxy to connect to YT servers.