egbertbouman / youtube-comment-downloader

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

[BUG] incorrect votes. #143

Closed minamotorin closed 4 months ago

minamotorin commented 4 months ago

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

I think this should

                          'votes': toolbar['likeCountNotLiked'],

~likeCountLiked is used when the user clik “like button”, and otherwise likeCountNotLiked is used.~ See https://github.com/yt-dlp/yt-dlp/pull/9775#issuecomment-2074980879.

Thanks.

egbertbouman commented 4 months ago

Nice find, thank you! You're absolutely correct. Apparently, votes was always 1 vote too high. This should be fixed now.