import re
from dosage.modules.helpers.BasicComicModule import BasicComicModule, BounceMixin
class RedMeat(BasicComicModule, BounceMixin):
baseUrl = 'http://www.redmeat.com/redmeat/current/index.html'
imageUrl = 'http://www.redmeat.com/redmeat/%s/index.html'
imageSearch = re.compile(r'
')
prevSearch = re.compile(r'previous')
nextSearch = re.compile(r'next')
help = 'Index format: yyyy-mm-dd'
def getFilename(self, imageUrl, pageUrl):
return imageUrl.split('/')[-2]