egbertbouman / youtube-comment-downloader

Simple script for downloading Youtube comments without using the Youtube API
MIT License
881 stars 223 forks source link

Type of votes #144

Closed minamotorin closed 4 months ago

minamotorin commented 4 months ago

https://github.com/egbertbouman/youtube-comment-downloader/blob/bb4d69ebb200f7f8d1aeb175cd2f2775371f8590/youtube_comment_downloader/downloader.py#L131

Thanks for quick fix!

Votes is integer if 0, in the other case, it is string. I think 'votes': toolbar['likeCountNotliked'].strip() or '0', is better for compatibility with old version.

Thanks.

egbertbouman commented 4 months ago

Yeah, you're right. It wasn't paying attention, and should have made it a str. I created a new release where votes is a string again.

minamotorin commented 4 months ago

Thanks for fixing!