A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112
  1. # -*- coding: utf-8 -*-
  2. # A base class for bot tasks that edit Wikipedia.
  3. class BaseTask(object):
  4. def __init__(self):
  5. """A base class for bot tasks that edit Wikipedia."""
  6. self.task_name = None
  7. def run(self, **kwargs):
  8. """Run this task."""
  9. pass