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

info.videoDetails.author.name is undefined #806

Closed
Peppy8651 opened this issue Dec 4, 2020 · 4 comments
Closed

info.videoDetails.author.name is undefined #806

Peppy8651 opened this issue Dec 4, 2020 · 4 comments

Comments

@Peppy8651
Copy link

When I try to get info.videoDetails.author.name, it returns undefined. This is some basic code that I use to try to get it.
const ytdl = require('ytdl-core'); ytdl.getBasicInfo('https://www.youtube.com/watch?v=QHVREB6fdvI').then(info => console.log(info.videoDetails.author.name));
What it's supposed to do is to get the author name, however instead it returns undefined with no error. All the videos that I test it with just return undefined using info.videoDetails.author.name. My current ytdl-core version is 4.1.2.

@emelin2004
Copy link

Can confirm that this happens to me almost on every video.

@danbulant
Copy link

videoDetails.author is missing for every video I tried

[email protected]
node 15.2.0
npm 7.0.8

Linux Manjaro

@Peppy8651
Copy link
Author

#809

@Peppy8651
Copy link
Author

I think this is a better issue that describes what's going on way better.

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

No branches or pull requests

3 participants