ReVanced / revanced-patches

🧩 Patches for ReVanced
https://revanced.app
GNU General Public License v3.0
2.5k stars 291 forks source link

feat(YouTube): Filter / hide user comments #1887

Open Fooftilly opened 2 years ago

Fooftilly commented 2 years ago

Application

Youtube

Issue

Instead of removing all comments, is there a way to filter comments based on words that they contain?

Patch

Have a list of user generated words so that comments containing them would be filtered out.

Motivation

I was thinking of something like this but in the mobile app: https://github.com/NatoBoram/youtube-comment-blacklist

Acknowledgements

LisoUseInAIKyrios commented 1 year ago

On a similar idea, integrate spam comment detection and hide the offending comments. Cut down the fake crypto investors comments, because YouTube does little to nothing to stop the scams. YouTube has cleaned up the porn and spam advertising, but "expert crypto investors" peddled by spam robots is OK to YouTube (does YouTube want their users to be robbed of their crypto? 👀)

Could use the excellent https://github.com/ThioJoe/YT-Spammer-Purge

Potential issues with this library:

VitoFe commented 5 months ago

Due to the new chatgpt bots now spamming heavily, but with common patterns, this kind of feature would be much appreciated. I'd also add that it would be nice giving a default filter list which can be updated in this repository with the most common bot messages, so that the user would have an updatable basic filter already without any further effort