Skip to content

Commit

Permalink
Update Script - Add filter feedback link
Browse files Browse the repository at this point in the history
Adds filter feedback links after printing match samples, and if no matched comments found
  • Loading branch information
ThioJoe committed Jan 6, 2022
1 parent f63d5a1 commit 701c31d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion YouTubeSpammerPurge.py
Original file line number Diff line number Diff line change
Expand Up @@ -3320,7 +3320,7 @@ def scan_video(youtube, miscData, currentUser, filterMode, filterSubMode, videoI
spam_count = len(matchedCommentsDict)
if spam_count == 0: # If no spam comments found, exits
print(f"{B.RED}{F.BLACK}No matched comments or users found!{S.R}\n")
print("If you think this is a bug, you may report it on this project's GitHub page: https://github.com/ThioJoe/YT-Spammer-Purge/issues")
print(f"If you see missed spam or false positives, you can submit a filter suggestion here: {F.YELLOW}TJoe.io/filter-feedback{S.R}")
if bypass == False:
input("\nPress Enter to exit...")
sys.exit()
Expand Down Expand Up @@ -3446,6 +3446,8 @@ def write_func(logFileName, string, logMode, numLines):
print("\n\nAll Matched Comments: \n")
print_comments(scanVideoID, list(matchedCommentsDict.keys()), loggingEnabled, scanMode, logMode, jsonSettingsDict)
print(f"\n{F.WHITE}{B.RED} NOTE: {S.R} Check that all comments listed above are indeed spam.")
print(f" > If you see missed spam or false positives, you can submit a filter suggestion here: {F.YELLOW}TJoe.io/filter-feedback{S.R}")

print()

### ---------------- Decide whether to skip deletion ----------------
Expand Down

0 comments on commit 701c31d

Please sign in to comment.