this post was submitted on 20 Jul 2024
8 points (100.0% liked)

Privacy

1229 readers
67 users here now

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

founded 1 year ago
MODERATORS
 

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!

all 4 comments
sorted by: hot top controversial new old
[–] sxan@midwest.social 4 points 4 months ago (1 children)

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.

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