sometimes youtube believes I’m a bot and won’t allow downloading stuff from them with yt-dlp 2026.07.04 on debian 13.6.
I could torify the whole computer, so next time I open a terminal and execute yt-dlp it uses tor by default. Sadly, I don’t know how to do that.
Another way would be to torify only yt-dlp, but neither do I know how to do that.
Changing the mac address and hostname did nothing.
Can you help?


Start a tor daemon with SOCKS5 proxy:
$ tor socksport 9050Then run yt-dlp through it:
$ yt-dlp --proxy socks5://127.0.0.1:9050 <your arguments>