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] Videos with both the disabled "Allow embedding" option and the enabled "Age restriction" option #17604
Comments
|
Or you can test this thing with my videos: |
|
youtube-dl version is 2018.09.18. |
|
Isn't this is a quick of YouTube itself (rather than with youtube-dl)? |
|
I don't know. I'm just guessing about this. *without the need to be logged in |
|
Can you export browser cookies and use the -cookies option in youtube-dl? |
no, there isn't if you know how to get the information without logging in then you post how you can get them(here or as PR). |
|
I have checked the source code, the embedding allows to pass the age check, so now everything is clear. |
You need to be logged in to download videos with both the disabled "Allow embedding" and the enabled "Age restriction" option.
But I can download videos only with the "Age restriction" option or only with the disabled "Allow embedding" option.
It looks strange. It seems to me that it is a bug.
You can easy test this "feature" with own videos.

Just set these options like in the picture: