YouTube has started "age restricting" many videos, and I can't download them with youtube-dl.
For example
youtube-dl https://www.youtube.com/watch?v=xeZ3k2ywQ6Y
Results in this:
user@droplet~/user# youtube-dl https://www.youtube.com/watch?v=xeZ3k2ywQ6Y
[youtube] xeZ3k2ywQ6Y: Downloading webpage
[youtube] xeZ3k2ywQ6Y: Refetching age-gated info webpage
WARNING: unable to download video info webpage: HTTP Error 410: Gone
ERROR: Sign in to confirm your age
This video may be inappropriate for some users.
I tried youtube-dl with -u and -p as it has those options and for the username I tried the email address I would log in to YouTube with, and I tried the username.
user@user:~/user# ./youtube-dl -u _____ -p _____ "https://www.youtube.com/watch?v=xeZ3k2ywQ6Y"
[youtube] Downloading login page
[youtube] Looking up account info
WARNING: Unable to look up account info: HTTP Error 400: Bad Request
[youtube] xeZ3k2ywQ6Y: Downloading webpage
[youtube] xeZ3k2ywQ6Y: Refetching age-gated info webpage
WARNING: unable to download video info webpage: HTTP Error 410: Gone
ERROR: Sign in to confirm your age
This video may be inappropriate for some users.
user@user:~/user#
As you see, it doesn't work.
I can view it from my web browser when I log in, but I can't access it with youtube-dl.