ForrestKnight / yt-dislikes

Add the dislike count back to my YouTube videos via a comment containing that information.
https://youtu.be/1uAH93tzfQY
MIT License
155 stars 13 forks source link

For a video with Zero Likes and Dislikes, the Script will give a ZeroDivisionError. Need to write a testcase for that. #7

Closed yatharth9 closed 2 years ago

yatharth9 commented 2 years ago

I was using the script on my channel's videos, and there was a video causing the ZeroDivisionError, so upon looking at the details for the video, I found that it had no likes and dislikes, and so, it was getting the error, and causing a Traceback. This can be prevented by writing a testcase that checks such a thing.