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

fix: alternative channel parsing without banners #102

Closed antoniojps closed 5 months ago

antoniojps commented 6 months ago

Fixes: https://github.com/SuspiciousLookingOwl/youtubei/issues/101

For alternative channel parsing, when trying to parse a channel with no banners it fails due to undefined banner variable.

SuspiciousLookingOwl commented 5 months ago

This is already fixed here -> https://github.com/SuspiciousLookingOwl/youtubei/commit/c9f1fea096500d0611f0d7e1ca80d06e37f657fd

Also added video count for the alternative parser