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.
ERROR: Unable to download webpage #6092
Comments
|
the output show that the error happen because the server return an HTTP error code.
as the RFC 6585:
maybe you are rquesting many videos from youtube in a short time. |
|
It gave me that error from the first time and I hadn't used it for days or even a week+. |
|
Are you using youtube-dl using some web hosting or using some proxy/VPN? |
|
Nope dedicated box, no proxy / VPN. As I said it always worked fine and since I rarely use it I always upgrade to latest before dling something (since that's what it recommends itself). |
|
Can you watch the video on a browser using the same computer? |
|
it's cli OS and it's on one of the biggest DCs in europe. Ofcourse it has it's own dedicated IPv4 / IPv6 range. |
|
Well, you could try running |
|
HTTP request sent, awaiting response... 429 Too Many Requests the plot thickens. So maybe yea youtube has blacklisted the DCs IP ranges, which makes it throw that captcha. Gonna make a ssh tunnel on that box and try to visit the page see if I get the captcha. |
|
Nope works fine. But still prolly is youtube blacklisting the IPs? |
What works fine? |
|
Agreed but it does work through ssh tunnel (and ofc I checked what IP was reported to make sure I was indeed using the ssh tunnel). It just went right into the page and started loading the video. Doesn't wget and other dl tools report something like a type of client? Maybe they are blocking that. I remember one site was blocking python / perl based get scripts. They were reporting some kind of user / client / whatever type which they were effectively blocking. Sorry what I am saying is so vague but I don't remember the exact details and couldn't find the logs of the conversation I had with an admin of that site that explained to me why and what happened. |
Could you play it directly or did you had to solve some captcha?
They could look into the user agent header, but the youtube-dl UA looks like a normal browser and it doesn't contain any reference to youtube-dl (run |
|
No captcha straight to the video (used private browsing incase my cookies bypassed it).
ps: what's the code for quoting? :P youtube-dl --dump-user-agent:
|
|
For wget you have to use |
|
wget same error. What I did was just google whatsmyip and verified that the IP shown was the servers and not of my home. Maybe I am doing something wrong but :/ |
|
I am also getting the same, i have installed an Ubuntu instance on AWS, and when i wget i get: |
|
@ishupreet see #6072. |
Worked fine till yesterday when I upgraded to the latest. I keep getting:
Kindly keep in mind that I am a ~new at nix so it might be something obvious that I am missing.
Cheers