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]: Stuck when Scanning Comments, API Overflow #1118

Closed blahguy88 closed 3 weeks ago

blahguy88 commented 1 month ago

Duplicate Issues

What happened?

Well, I was trying to scan, but every time I do, it gets stuck and runs the API cost up, no matter what I try.

Release version

2.18.0-Beta3

Steps to reproduce

  1. Run any scan mode.
  2. Watch the program get stuck and never fix itself, no matter how many times you restart it.
  3. Note that API consumption seems to be through the roof when this happens, even when only scanning about 2000 comments on a video.

What platform are you seeing this problem on?

Windows (.exe file)

Relevant log output

No response

Screenshots

image image image image image image image image

blahguy88 commented 1 month ago

Now, it doesn't even start at all. image

And API consumption still runs through the roof. image image image

virophagesp commented 1 month ago

I think this is an issue with the library itself since the issue is coming from any comment with more than 100 replies and the code hasnt been changed for months

blahguy88 commented 1 month ago

I think this is an issue with the library itself since the issue is coming from any comment with more than 100 replies and the code hasnt been changed for months

What do you mean? Because it happened on this video too, and none of the comments had over 100 replies when I tried to scan it. https://www.youtube.com/shorts/nfp0lmrjhxs image

virophagesp commented 1 month ago

I just debugged there is definitively at least one with more than 100 replies

blahguy88 commented 1 month ago

Yeah, happened again for me too.

mattsblack commented 1 month ago

bump.

also i had a bug (forgot to screenshot) where the comments scanned would increase past the total number of comments. It looked like this "Total: [107754/82888] (130%) | Comments Scanned: (frozen) | Replies Scanned: (kept increasing) | Matches Found So Far: (frozen)" i'm on the latest beta version 2.18.0-Beta3 and used the 2nd option to scan recent videos on a channel.

virophagesp commented 1 month ago

now that is odd, did you alter the code, sounds like a change you made altered the way the bug works

blahguy88 commented 1 month ago

now that is odd, did you alter the code, sounds like a change you made altered the way the bug works

If you're talking to me, I didn't change the code.

bump.

also i had a bug (forgot to screenshot) where the comments scanned would increase past the total number of comments. It looked like this "Total: [107754/82888] (130%) | Comments Scanned: (frozen) | Replies Scanned: (kept increasing) | Matches Found So Far: (frozen)" i'm on the latest beta version 2.18.0-Beta3 and used the 2nd option to scan recent videos on a channel.

That's not a bug. Sometimes, more comments come as the program is scanning, so it takes them into account too.

virophagesp commented 1 month ago

I was talking to mattsblack

virophagesp commented 3 weeks ago

hey it seems to be fixed

virophagesp commented 3 weeks ago

turns out there is another issue entirely so maybe it isnt fixed

blahguy88 commented 3 weeks ago

It's fixed now.