ThioJoe / YouTube-Spammer-Purge
- суббота, 6 ноября 2021 г. в 00:29:52
Allows you to purge all reply comments left by a user on a YouTube channel or video.
Allows you to purge all comments left by a user on a specific video or across the entire channel.
How to Download: Click the "Releases" link on the right, then on the latest release, under 'Assets' click to download "YouTubeSpammerPurge.exe". NOTE: You may get a warning - See "Download & Windows Warning" section below for details.
Recently, there has been a massive infestation of spam on YouTube where fake impersonator accounts leave spam/scam replies to hundreds of users on a creator's videos. For some god-forsaken reason, YouTube offers no way to delete all comments by a specific user at once, meaning you must delete them one by one BY HAND.
YouTube offers a functionality to ban a user, but it does NOT delete previous comments. Therefore I created this script to allow you to instantly purge their spam replies.
To use this script, you will need to obtain your own API credentials file by making a project via the Google Developers Console (aka 'Google Cloud Platform'). The credential file should be re-named client_secret.json
and be placed in the same directory as this script. See Instructions below.
IF IT FREEZES while scanning, it is probably because you clicked within the command prompt window and entered "selection mode" which pauses everything. To unfreeze it, simply right click within the window, or press the Escape key.
At the moment, this program doesn't ban the user, so do that yourself before deleting their comments. I'll add that function in the next version.
I'm a total amateur, so if something doesn't work I'll try to fix it but might not even know how, so don't expect too much. Therefore I OFFER NO WARRANTY OR GUARANTEE FOR THIS SCRIPT. USE AT YOUR OWN RISK. I tested it on my own and implemented some failsafes as best as I could, but there could always be some kind of unexpected bug. You should inspect the code yourself.
Regular Link: https://www.youtube.com/watch?v=-vOakOgYLUI
(Takes you to YouTube, not embedded. See timestamps in video description.)
If using the python script version (not the exe), there is a requirements.txt with necessary modules. Either way, you DO need to acquire your own API credentials file to access the YouTube API - See instructions below.
Because I haven't published software before, web browsers and Windows might block the exe from downloading / running as "unrecognized" until it builds a reputation as being safe. In the meantime, you can simply unblock the program by Right Clicking > Properties > Check 'Unblock' > Click Apply. You can confirm the download by selecting "keep". (If you see these warnings at all)
To use this script, you will need an "Oauth2" credential to access the scanning and deletion functions via YouTube's Data API. Otherwise this script won't work at all.
Video walking through these same steps here (Go to 11:33) https://youtu.be/-vOakOgYLUI?t=693
Log into Google Developer's Console with your Google account that has your YouTube channel.
On the top blue bar nex to where it says "Google Cloud Platform", click the dropdown to 'Select a Project'. (If you have existing projects, it may instead show the name of one)
client_secrets.json
and save it into the same directory as the python script. Then click done.