import re from dosage.modules.helpers.BasicComicModule import BasicComicModule class KernelPanic(BasicComicModule): latestUrl = 'http://www.ubersoft.net/kpanic/' imageUrl = 'http://www.ubersoft.net/kpanic/d/%s' imageSearch = re.compile(r'"(/.+?comics/.+?)" ', re.IGNORECASE) prevSearch = re.compile(r'.+?"(.+?)".+?Previous', re.IGNORECASE) help = 'Index format: yyyymmdd.html'