Closed IoanPaleru closed 6 years ago
youtube-dl.exe "https://www.youtube.com/watch?v=EuFfmnu34rs"
works for me
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?
I am getting this issue too.
Seems YouTube says the video is unavailable when I visit the video link, please disregard this post.
$ youtube-dl -v 'https://www.youtube.com/watch?v=5K3nZ9YNDm8'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=5K3nZ9YNDm8']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.01.21
[debug] Python version 2.7.13 (CPython) - Linux-4.9.0-5-amd64-x86_64-with-debian-9.3
[debug] exe versions: ffmpeg 3.3.6, ffprobe 3.3.6, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 5K3nZ9YNDm8: Downloading webpage
[youtube] 5K3nZ9YNDm8: Downloading video info webpage
ERROR: 5K3nZ9YNDm8: YouTube said: Invalid parameters.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 784, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 438, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1609, in _real_extract
expected=True, video_id=video_id)
ExtractorError: 5K3nZ9YNDm8: YouTube said: Invalid parameters.
@IoanPaleru
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.
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 [youtube] YA-FeR4sHqQ: Downloading webpage [youtube] YA-FeR4sHqQ: Downloading video info webpage ERROR: YA-FeR4sHqQ: YouTube said: This video is not available.
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
youtube-dl -F https://youtu.be/4phYuoi2NHY
[youtube] 4phYuoi2NHY: Downloading webpage
[youtube] 4phYuoi2NHY: Downloading embed webpage
[youtube] 4phYuoi2NHY: Refetching age-gated info webpage
[youtube] 4phYuoi2NHY: Extracting video information
ERROR: This video can't be played here, but you can still watch it on YouTube. Watch on YouTube
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 youtube-dl -v URL
the results were same. Before 7th of September 2018 i could play everything. I think is due region block or same regulations.
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?
08:15-root:~# youtube-dl -v --call-home https://www.youtube.com/watch?v=cF5XBiuQvJI&t=367s [1] 12230 08:15-root:~# [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-v', u'--call-home', u'https://www.youtube.com/watch?v=cF5XBiuQvJI'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2018.09.10 [debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-1018-gcp-x86_64-with-Ubuntu-18.04-bionic [debug] exe versions: none [debug] Proxy map: {} [debug] Public IP address: xx.xx.xx.xx [youtube] cF5XBiuQvJI: Downloading webpage [youtube] cF5XBiuQvJI: Downloading video info webpage ERROR: This video is not available. Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info ie_result = ie.extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in extract ie_result = self._real_extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1888, in _real_extract raise ExtractorError(error_message, expected=True) ExtractorError: This video is not available.
You can use the option -i : -i, --ignore-errors Continue on download errors, for example to skip unavailable videos in a playlist
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
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.