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.
Youtube-dl doesn't seem to be able to download certain videos from youtube.com anymore #15417
Comments
|
|
|
Could you check that you can watch this video in browsers without proxies/VPNs/...? "Invalid parameters" often indicates a video is unavailable. (#15284) |
|
Yes this video "https://www.youtube.com/watch?v=EuFfmnu34rs" does seem to be region blocked, however even other videos that played normally in my browser without a vpn or proxy weren't able to be downloaded by youtube-dl recently, but now youtube-dl seems to be able to download them properly. By the way, when trying to download youtube videos that are region blocked to the US, if you're in another country can youtube-dl download them? Going to us.youtube.com doesn't work, because it says "Server not found", and someone else said that you can use --proxy, and put in a proxy address that can access the video, but what does that mean, how do you do that, where can you find a proxy address like that? Youtube-dl is an excellent program, and if I find any other videos that don't download properly, I'll let you know. Thanks. Have a good day. |
|
Hello! i ran into this problem and i am interested in a solution. my web app is an api that takes a youtube url and returns extracted download links (no video downloaded to servers, return direct download links from youtube). e.g. youtube-dl -g https://www.youtube.com/watch?v=iOe6dI2JhgU the problem is, youtube-dl returns download urls that are not working (getting http response forbidden), but the urls look normal to me is there a way to detect that the video is protected so my webapp does bot return broken download urls? |
|
Seems YouTube says the video is unavailable when I visit the video link, please disregard this post.
|
Do you mean sometimes it works and sometimes it doesn't? Could you paste some such URLs? About proxies: there are some free proxies out there, Google it! I don't use them often. Maybe someone are kind to share which proxy is a good choice. @MhmdSalah: that's a different issue. YouTube links generated on one machine works for that machine only. Check out https://github.com/rg3/youtube-dl/blob/master/README.md#i-extracted-a-video-url-with--g-but-it-does-not-play-on-another-machine--in-my-web-browser |
|
@yan12125: Correct! i just tried and you are right, i was able to download the video to server but links don't work from different ip. What is the way to detect such protected video and stop api from returning links to client? here is a metadata dump for a protected video http://api.inka.ps/meta?url=https://www.youtube.com/watch?v=iOe6dI2JhgU and here is one for a normal video http://api.inka.ps/meta?url=https://www.youtube.com/watch?v=vOJFxkTAsHo |
|
@MhmdSalah: Some people reported that URLs starting with "https://redirector.googlevideo.com" can work around IP restrictions. See #11357. |
|
@yan12125: Thank you, but it does not seem to work anymore. seems like i have to check on client side for response code. if anybody has a fix it would be appreciated. |
|
Yan12125 said: "Do you mean sometimes it works and sometimes it doesn't? Could you paste some such URLs?" Yan12125, Thanks for your response. I meant that a few days ago, it seemed that youtube-dl wasn't able to download any videos from youtube at all, even ones that weren't region blocked, but now it seems to be able to download all those videos normally. If I find any other videos that youtube-dl can't download, I'll let you know, but at the moment, everything seems to be working normally with youtube-dl. I hope that clarifies everything, and please keep up the great work with youtube-dl, because it's a very good program. Have a good day. |
|
I am trying to download the view https://www.youtube.com/watch?v=YA-FeR4sHqQ but it seems youtube-dl does not like - character in the link. youtube-dl -F https://www.youtube.com/watch?v=YA-FeR4sHqQ |
|
Use quotation marks for the URL.. |
|
Tried with quotation youtube-dl -F "https://www.youtube.com/watch?v=YA-FeR4sHqQ" Same result its actually reading the webpage but not downloading... |
|
I cannot download this video
|
|
I have same problem using youtube_dl by my discord bot. It can play audio from some videos (https://www.youtube.com/watch?v=nlcKDsq-C4k) but form some can not (https://www.youtube.com/watch?v=O4irXQhgMqg). When i tried to download them by using |
|
I almost completely downloaded a 20-part tv series except for 4 episodes:
Notice 1 and 4 have extra characters. Removing them in the command has the same error, and anyway YTDL removes them if included. If my region is blocked why only those parts and not all? Debug:08:15-root:~# youtube-dl -v --call-home https://www.youtube.com/watch?v=cF5XBiuQvJI&t=367s |
|
You can use the option -i : it works for me. |
|
-i does not works for me |
Hi. Youtube-dl is an excellent program, it can usually download videos from youtube and other sites quickly and easily in many different formats, and has lots of customization options, however lately it seems that it isn't downloading certain videos from youtube like this one "https://www.youtube.com/watch?v=EuFfmnu34rs", for example.
Also, something that may be useful for troubleshooting and related to this issue with youtube-dl, having to do with a change on youtube's website, not with youtube-dl itself, is that it seems that certain online youtube video downloader websites like these ones "get-video.online", "getvidnow.com", yoodownload.com" also aren't able to download the link to the youtube video above, even though they used to be able to, while these ones "clipconverter.cc", "convert2mp3.net/en", "youtubemultidownloader.com" are. So maybe youtube has changed something on their website that's making youtube-dl unable to download certain videos? It used to be that you could just type "youtube-dl " and the video would download fine, but now it doesn't for certain videos, however this video "https://www.youtube.com/watch?v=Zi_XLOBDo_Y" still downloads fine with youtube-dl.
I'd really appreciate some more information on this, and to know if anyone else is experiencing this, as well as to know if there's anything that can be done to fix it. If you need any other information, please let me know. Thanks. Have a good day.