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

ytdl.getInfo throws 404 error for age restricted videos #19

Closed
jbelford opened this issue May 26, 2021 · 2 comments
Closed

ytdl.getInfo throws 404 error for age restricted videos #19

jbelford opened this issue May 26, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@jbelford
Copy link
Owner

Attempting to fetch stream for age restricted videos will error out. This is a known issue with ytdl-core

fent/node-ytdl-core#923

@jbelford jbelford added the bug Something isn't working label May 26, 2021
@jbelford
Copy link
Owner Author

jbelford commented May 26, 2021

Temporary workaround is to not include age-restricted videos in youtube search results by using safeSearch: 'strict'. However, user can still encounter error by providing URL directly or queuing up playlist that contains age-restricted videos

@jbelford
Copy link
Owner Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant