ThioJoe / YT-Spammer-Purge

Allows you easily scan for and delete scam comments using several methods.
GNU General Public License v3.0
4.52k stars 391 forks source link

[Bug]: Divide By Zero #1078

Closed blahguy88 closed 1 month ago

blahguy88 commented 8 months ago

Duplicate Issues

What happened?

I was trying to scan community posts on somebody else's channel for spam bots, but it can't do it.

Release version

2.18.0-Beta1

Steps to reproduce

image image

What platform are you seeing this problem on?

Windows (.exe file)

Relevant log output

[1/2] Post ID: UgkxDNnsI4s2c04emNGocR3GTmCtSfbnKJVl
    >  Post Text Sample: A comfy sweater featuring the classic line that Jax definitely said during the pilot ANDD
Traceback (most recent call last):
  File "D:\Users\Joe\Documents\GitHub ThioJoe\YouTube-Spammer-Purge\YTSpammerPurge.py", line 1716, in <module>
  File "D:\Users\Joe\Documents\GitHub ThioJoe\YouTube-Spammer-Purge\YTSpammerPurge.py", line 1693, in main
  File "D:\Users\Joe\Documents\GitHub ThioJoe\YouTube-Spammer-Purge\YTSpammerPurge.py", line 1203, in primaryInstance
  File "D:\Users\Joe\Documents\GitHub ThioJoe\YouTube-Spammer-Purge\YTSpammerPurge.py", line 1143, in scan_community_post
  File "Scripts\community_downloader.py", line 234, in main
ZeroDivisionError: division by zero
------------------------------------------------
Error Message: division by zero

Screenshots

No response