I’m getting IP-banned using yt-dlp. It seems that this is a known issue. Have any of you run into this, and if so, what has been your solution?

I currently use a VPN via a VPS. I am able to view youtube via the web client and use youtube-dl without VPN, but I am only unable to get through using the CLI on the VPN. I have also tried fiddling with some CLI args (like --extractor-args "youtube:player_client=web") but that is also unsuccessful.

My next step is to try signing up for mullvad to see if I can get around it that way, but would like to hear if this is affecting existing mullvad users.

Open to hearing other solutions as well. Thanks!

Mullvad has literally hundreds of exit nodes in dozens of countries. I have a script on my router that switches my exit node to a random one every few hours (a couple of times a day). This means that sometimes, Reddit doesn’t like me.

Now, I don’t like Reddit, but people will keep posting links to stuff on there so I hit it occasionally. If Reddit is being pissy, I just manually switch my router’s exit node to a different one; only rarely do I have to do this more than once.

I’ve never encountered IP banning from YouTube (and I do use yt-dlp), but if I did, I’m fairly confident hopping exit nodes, like I do for Reddit, would work just as well.

permalink
report
reply
1 point

Thanks for letting me know. That sounds promising, so I’ll give it a shot!

permalink
report
parent
reply
2 points
Deleted by creator
permalink
report
reply
2 points

Thanks, I’m using yt-dlp too. I was a bit sloppy while writing the post and updated it to make it clear that I’m also using yt-dlp

permalink
report
parent
reply

Privacy

!privacy@programming.dev

Create post

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

Community stats

  • 588

    Monthly active users

  • 73

    Posts

  • 358

    Comments