SuspiciousLookingOwl / youtubei

Get Youtube data such as videos, playlists, channels, video information & comments, related videos, up next video, and more!
https://suspiciouslookingowl.github.io/youtubei
MIT License
240 stars 50 forks source link

getVideo() method returns undefined for every input #46

Closed MaxLiebe closed 2 years ago

MaxLiebe commented 2 years ago

Describe the bug The getVideo() method currently returns undefined for every case (presumably due to a restructure in response data?)

To Reproduce Use getVideo() in any way, even the example code breaks.

Expected behavior A video containing the metadata is returned.

Additional context I was able to fix the issue myself by just removing all the [3]s and [2]s after 'data' in every relevant file. Seems to work fine now.

SuspiciousLookingOwl commented 2 years ago

Fixed in 0.0.1-rc.34