Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube: 0 videos grabbed for age-restricted user/channel #7277

Closed
ivan opened this issue Oct 23, 2015 · 1 comment
Closed

YouTube: 0 videos grabbed for age-restricted user/channel #7277

ivan opened this issue Oct 23, 2015 · 1 comment

Comments

@ivan
Copy link
Contributor

@ivan ivan commented Oct 23, 2015

Whether or not you log in, youtube-dl sees 0 videos for this age-restricted user/channel:

# PYTHONPATH=. python3 -m youtube_dl "https://www.youtube.com/user/DeusExOfficial/videos"
[youtube:user] DeusExOfficial: Downloading channel page
[youtube:user] DeusExOfficial: Downloading page #1
[download] Downloading playlist: DeusExOfficial
[youtube:user] playlist DeusExOfficial: Downloading 0 videos

# PYTHONPATH=. python3 -m youtube_dl "https://www.youtube.com/channel/UCs0ifCMCm1icqRbqhUINa0w"
[youtube:channel] UCs0ifCMCm1icqRbqhUINa0w: Downloading channel page
[youtube:channel] UCs0ifCMCm1icqRbqhUINa0w: Downloading page #1
[download] Downloading playlist: UCs0ifCMCm1icqRbqhUINa0w
[youtube:channel] playlist UCs0ifCMCm1icqRbqhUINa0w: Downloading 0 videos

As a fix, https://www.youtube.com/channel/UCs0ifCMCm1icqRbqhUINa0w could be converted directly to https://www.youtube.com/playlist?list=UUs0ifCMCm1icqRbqhUINa0w, which is not age-restricted.

https://www.youtube.com/user/DeusExOfficial/videos redirects to https://www.youtube.com/verify_age?next_url=%2Fuser%2FDeusExOfficial%2Fvideos&action_display=1, which contains a

data-ytid="UCs0ifCMCm1icqRbqhUINa0w"

that could be converted to https://www.youtube.com/playlist?list=UUs0ifCMCm1icqRbqhUINa0w

@jaimeMF jaimeMF closed this in 5c43afd Oct 23, 2015
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 23, 2015

Thanks for the report and the proposed solution, it will work in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.