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 Movies" cannot be downloaded #14459
Comments
|
Am getting the same issue here. Tried to download this movie. Plays fine in browser so it shouldn't be region locked. When I use --cookies or -u and entering the password (TFA is disabled), the response is Tried YT Red content, --cookies and -u method work. When I try the first movie without any auth credentials it downloads the trailer. A dump of some of the HTML from the movie that is failing at least shows where the error text is coming from, also noted over in this post.
EDIT: I had a quick look at the errors that the code is throwing, looks like its coming from here simply because that unavailable-message div exists. As you can see from the rest of the snippet posted above it does go to create the video player div, further down there is some license tokens and other things. I think from the examples I posted they are different because one video I had to purchase (and have), the other I got for free because of my account level. As per the tag added, account credentials to a broken download needs to be handed over so someone can investigate further. |
|
This is a duplicate of #1774. |
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 2017.10.07. 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?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
If you go to https://www.youtube.com/watch?v=hH5jkaRT62w you should see a trailer for the movie [i]The Last Man on the Moon[/i]. If you purchase the movie, that same URL will take you to the actual movie instead of the trailer.
Even with 2FA disabled, you cannot download this movie.
Output:
I've also tried passing cookies. Same exact deal.
I've read through a good few dozen issues on GitHub to no avail. I can't find anyone getting the same error.
Additionally, I tested YouTube Red content just to see if that works and it does without issue.
I take it there's either a lack of support for this or Google recently increased their ability to block downloads...either way, any thought on this from anyone?