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.
Age restriction gate used also when logging in #6448
Comments
|
Provide concrete examples. |
|
aldnin is right This is related to my problem in #4627, but thread closed rather than reply (after ask for dumb things like the OS, wich is in the debug info provided or if im using xxxx@gmail.com literally as account) In youtube.py extractor go here:
but in this case (embedded + age restriction) must go to else branch
Example: youtube-dl -n -c -v "https://www.youtube.com/watch?v=_ujz8dY7EAE" Not sure how to put the condition, but if I put this in youtube.py extractor:
and I do this:
I get the video: [youtube] Downloading login page [download] 0.0% of 3.73MiB at Unknown speed ETA Unknown ETA |
|
#4627 has been already closed long before you posted in it. We do not track closed issues. As of going the else branch this is not always the case, e.g. http://www.youtube.com/watch?v=6kLq3WMV1nU does only work with age-gate branch. |
|
Ok, this works for me:
(Sorry for the edit) |
|
I have problems downloading this video: https://www.youtube.com/watch?v=UNDIrIyvQFk even though I succesfully logged in through CLI. youtube-dl -n https://www.youtube.com/watch?v=UNDIrIyvQFk [youtube] Downloading login page [youtube] Logging in Type 2-step verification code and press [Return]: [youtube] Submitting TFA code [youtube] UNDIrIyvQFk: Downloading webpage [youtube] UNDIrIyvQFk: Downloading embed webpage [youtube] UNDIrIyvQFk: Refetching age-gated info webpage ERROR: UNDIrIyvQFk: YouTube said: Watch this video on YouTube. |
There is no need for the age restriction gate when logging in, nevertheless it is used in such cases. The age restriction gate can cause issues with embedding rules of videos, therefore it makes it impossible to process a video which is age-restricted, with emedding rules, even when logging in with data which would elminiate the age-restriction.