Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
How to avoid getting banned/blocked? #15266
Comments
|
There are no clear answers for these questions. |
|
@dstftw I'm not looking for exact answers, simply estimates or "I've downloaded 1 video a minute and never had issues". Any more insight here, from anyone? Thank you. |
Okay, now I got to ask: What are you actually planning to do? I'm trying to understand the use case here.. |
|
@Hrxn Thank you for taking the time to respond, I appreciate it.
Sounds like I'm probably good with this, either way. I don't even know how youtube-dl would ban either, eg. GB download limit, or too many requests? Sounds like it's not as common as I thought it would be. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.01.14. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
I've read the docs about how to know when an IP gets banned/blocked. I've read bug reports of people trying to figure out if they're been blocked/banned by YouTube. I've read the solution is to contact YouTube to get an IP whitelisted, or in some cases to go to the browser to enter a captcha and restart youtube-dl.
I haven't been blocked/banned, only looking at my options to avoid it from happening in the first place.
How do I not get blocked/banned in the first place? Aside from using proxies. No more than 60 requests an hour? A minute? Based off what you experienced folks have seen, what is acceptable to avoid getting banned? (I have a digital ocean droplet that seems to currently work)
If I do decide to go proxies, what proxy service do you recommend? (This would likely come way later, ideally I don't want to get banned in the first place) I've used Stormproxies before on a craigslist scraping research project, it worked well.
If YouTube does block an IP, do they release the block after 1 day? 3 days? A week? Any insight here? Only is only option to request whitelist. I see some people reporting a ban lifted, although I believe that was after a month.
A bunch of these questions are trial and error. Once we have clarity here, or if someone who is a heavy user of youtube-dl knows, this could be good to add to the docs too.
Thank you for your time, and for such a great project.