SuspiciousLookingOwl / scrape-yt

Simple lib to scrape information from youtube such as search results, video information, related videos, playlist information and up next video
https://www.npmjs.com/package/scrape-yt
MIT License
9 stars 3 forks source link

getPlaylist(): TypeError: Cannot read property 'shortBylineText' of undefined #20

Closed alverated closed 3 years ago

alverated commented 3 years ago

const results = await scrapeYt.getPlaylist("PLaYtGORLdHDIOZVNovduRmZBuoTGVOGAS");

but using the playlist id from your example works fine. const results = await scrapeYt.getPlaylist("PLx65qkgCWNJIgVrndMrhsedBz1VDp0kfm");

so I was thinking that this will happen if the playlist contains Deleted/Private Videos?

SuspiciousLookingOwl commented 3 years ago

4c5a4c3419d1ca3d5ca83c6487f34ee9a6abf378 should fix it, thanks!

Publishing new version on npm soon.

alverated commented 3 years ago

cool... thanks!