import re from dosage.modules.helpers.PHPComicModule import PHPComicModule class NekoTheKitty(PHPComicModule): basePath = 'http://www.nekothekitty.net/cusp/' prevSearch = re.compile(r"]+alt='Previous Comic'" % (basePath), re.IGNORECASE)