Pages:
Author

Topic: XSTerminate: A bitcointalk deletebot to rid unwanted visitors from your threads. - page 3. (Read 13084 times)

legendary
Activity: 1050
Merit: 1000
sr. member
Activity: 364
Merit: 250
Haha! Amazing, Great work!

Can it somehow come with some usernames pre built in?  Grin
legendary
Activity: 2184
Merit: 1028
#mitandopelomundo
LOL very nice against shadowcoin fudsters&trolls gang!
sr. member
Activity: 322
Merit: 250
This is great!

XSTerminate is going to frustrate a lot of trolls!  Cry
newbie
Activity: 21
Merit: 0
Awesome, great job.

A feature I would suggest as well : make the bot "ignore" the user as well. If everyone starts using your bot, the biggest trolls would all have glowing hot "ignore" links under their name.

Great idea. Look for it in the next minor update.
hero member
Activity: 798
Merit: 500
Sovryn - 300-500% APY on USDT Deposit
Awesome, great job.

A feature I would suggest as well : make the bot "ignore" the user as well. If everyone starts using your bot, the biggest trolls would all have glowing hot "ignore" links under their name.
newbie
Activity: 21
Merit: 0
XSTerminate by @deletebot

Downloads (Booyah!)

http://assets.audiomack.com/dj-jd/2d54ec209764628cda07069a225194bb.png Downloads!

Latest version is 0.9.8.

GitHub Repository: https://github.com/deletebot/XSTerminate/
Source Starter Pack: https://github.com/deletebot/XSTerminate/archive/master.zip
Windows Point and Click: https://drive.google.com/file/d/0B8rWObF4xz1YYk5xXzg0RGNRdVU/view?usp=sharing

Latest Updates

1/23/14 - Did the recent bitcointalk outage kill your XSTerminate bot? You don't need to worry about that again. Version 0.9.8 will stay live through even the most erratic bitcointalk behavior. I serendipitously tested this version through the recent bitcointalk outage without a hiccup.

What's more! XSTerminate now comes equipped with an option to blacklist users with fewer posts than a user defined cutoff. If your trolls think they are going to get around your luser list by creating new accounts, they need to think again.

12/23/14 - I have fixed several crashing issues related to network errors. The version (0.9.4) should be much more robust than the previous version.

If you use windows, follow the instructions at this post.

11/19/14 - I just fixed a crashing bug that comes from session termination when a user logs out of the bot account in a browser. This happens when the bot is running and the user logs into the bot account in a browser then logs out of the browser session by closing the browser or otherwise purposefully logging out. The bot will now recognize the situation and recover.

Also, getting started in windows is now much easier. Check this post.


Introduction

Let's face it, bitcointalk has become overrun with trolls.

On bitcoin talk, you could begin a thread dedicated to your love of your grandmother and in 5 minutes it would be crawling with trolls calling your own heartfelt feelings a scam, or worse. Of course by using the self moderation option when you create a thread, you can go through and laboriously delete each troll post manually. It's very gratifying but also a lot of work.

Wouldn't it be nice if there were a bot that could do this for you?

Well now there is.

Introducing XSTerminate: a bitcointalk deletebot to rid unwanted visitors from your threads.

Using XSTerminate is easy. Just edit the config file according to your user name, password, topic number (found in the thread URL), and a couple of other settings. Then fill in your blacklist, which I like to call the "luser" list. Then, fire up XSTerminate, pointing it to your config file. And, like magic, you will have peace of mind. You can go to sleep knowing that the troll you despise is not going to come back without making a newbie account. And if he does, you can blacklist that account too! You wouldn't even have to restart XSTerminate either. Just edit the luser list and let XSTerminate take care of the rest.

To get started, you can download the XSTerminate program and example files here:
https://github.com/deletebot/XSTerminate/archive/master.zip

Or, you can go to github and clone the XSTerminate repository at https://github.com/deletebot/XSTerminate

The contents of the README.md file are below. Enjoy!


Donations

XST: SMFPrpKYQ6yxVesVEwNfQbsPCPveG6srBP
BTC: 1HWu9Ant9CNmuJCG5MXi1z3F8F5Zi1o9sT
LTC: LZ7Rkvz5LeisP2GRmvQhUxuewe45h6tDf3
DOGE: DLdew3KSaL9kL2cLC6Pv7hVzDULtkDcZ6





XSTerminate

The Original Bitcointalk Delete Bot

XSTerminate is a bot that can crawl new messages in your thread and delete posts from unwelcome members.

XSTerminate is a python program with only two dependencies: pyyaml and BeautifulSoup.

XSTerminate can run as a daemon in *nix systems or as a console program in both Windows (NT+) and *nix systems. In *nix it can be killed with SIGINT (ctrl-C in the console) or SIGTERM in Windows. In such cases, it will terminate gracefully and save cookie information.


Usage

Code:
xsterminate deletebot.yml

The file "deletebot.yml" is a yaml file with several settings.


Configuration

  • user: the bitcointalk username
  • password: the bitcointalk password (remove or make null for getpass)
  • topic: the bitcointalk topic number found in the topic url
  • lusers: the luser blacklist with one luser name per line
  • activity: users must have this minimal activity to post
  • sleep: be nice to bitcointalk by sleeping between thread reloads
  • cookiefile: the file wherein cookies are stored
  • debug: prints debug output if set to true; omit or set to false if unwanted


The settings "activity", "sleep", and "debug" can be changed in the config file while the bot is live and the bot will adjust its behavior upon the next reload of the thread messages.


Example Config File: "deletebot.yml"

Code:
# user name at BCT
user : deletebot
# remove or make null for getpass; put in a password for auto
password : null
# BCT topic number
topic : 850210
# file with username blacklist, one per line
lusers : lusers.txt
# minimum activity a user needs to post
# see https://bitcointalk.org/index.php?topic=444292
# can be modified while bot is live
activity : 5

# sleep this many seconds before reloading new messages
# can be modified while bot is live
sleep : 60

# name of the file where cookies are stored
cookiefile : cookies.lwp

# for development, this can be ommitted or set to false
# can be modified while bot is live
debug : true


Example Blacklist File: "lusers.txt"

Code:
Luser1
Luser2
Luser3
Pages:
Jump to: