Purple exclamation mark.svg Planning the future of Botwiki! - Help us bring Botwiki up to date, contribute to our strategy discussion, add bot scripts, and contribute manuals, guides, and tutorials! Almost anything related to bots, particularly those used to edit mediawiki, is welcome.

Red exclamation mark.svg UNABLE TO EDIT? - We've experienced attacks by spambots lately and now require you to confirm your e-mail before you can edit (go to your preferences, enter an e-mail address, and request a confirmation e-mail, then go to your e-mail and click on the confirmation link). We also require new accounts to make a few edits and wait a few minutes before before you can create a page; however, if this is a problem contact us in #botwiki and we can manually confirm your account. Sorry for the inconvenience.

Python:Vandal Bazooka

From Botwiki
(Redirected from Botwiki:Vandal Bazooka)
Jump to: navigation, search

Vandal Bazooka is a tool written in python by Filnik. It's composed by three scripts:

  • irc.py simply connects to an IRC channel to get the latest edit in real-time and provide to write them in a log.
  • parser.py get this log, parse the input and thinks if you need to check that page or not. If not, it will skip that page, vice versa it will open a tab in your browser with the link of the diff. In this way you have nothing to do, only patrolling ^_-
  • config.py is the config file, you need only to change/add your bot's nickname :-)

To test it, first of all, you have to install python that you can find there.

Unfortunately, because of encoding's problem, you have to download the package from here if you want that the Bot will work (the scripts below are only to let the users see the source).

Source code

Download

Personal tools
Share