', MULTILINE)
help = 'Index format: n (unpadded)'
class Achewood(_BasicScraper):
latestUrl = 'http://www.achewood.com/'
stripUrl = latestUrl + 'index.php?date=%s'
imageSearch = compile(tagre("img", "src", r'(/comic\.php\?date=\d+)'))
prevSearch = compile(tagre("a", "href", r'(index\.php\?date=\d+)', after="Previous"))
help = 'Index format: mmddyyyy'
namer = regexNamer(compile(r'date=(\d+)'))
class AstronomyPOTD(_BasicScraper):
starter = bounceStarter(
'http://antwrp.gsfc.nasa.gov/apod/astropix.html',
compile(r'>'))
stripUrl = 'http://antwrp.gsfc.nasa.gov/apod/ap%s.html'
imageSearch = compile(r'<')
help = 'Index format: yymmdd'
@classmethod
def namer(cls, imageUrl, pageUrl):
return '%s-%s' % (pageUrl.split('/')[-1].split('.')[0][2:],
imageUrl.split('/')[-1].split('.')[0])
class AfterStrife(_BasicScraper):
latestUrl = 'http://afterstrife.com/?p=262'
stripUrl = 'http://afterstrife.com/?p=%s'
imageSearch = compile(r'")
help = 'Index format: yyyy/mm/strip-name'
class ASkeweredParadise(_BasicScraper):
latestUrl = 'http://aspcomics.net/'
stripUrl = latestUrl + 'comic/%s'
imageSearch = compile(tagre("img", "src", r'(http://aspcomics\.net/sites/default/files[^"]*/asp\d+\.jpg)[^"]+'))
prevSearch = compile(tagre("a", "href", "(/comic/\d+)")+r"[^>]+Previous")
help = 'Index format: nnn'
class AGirlAndHerFed(_BasicScraper):
starter = bounceStarter('http://www.agirlandherfed.com/',
compile(r'[^>]+Back'))
stripUrl = 'http://www.agirlandherfed.com/1.%s.html'
imageSearch = compile(tagre("img", "src", r'(img/strip/[^"]+\.jpg)'))
prevSearch = compile(r'[^>]+Back')
help = 'Index format: nnn'
@classmethod
def namer(cls, imageUrl, pageUrl):
return pageUrl.split('?')[-1]
class AetheriaEpics(_BasicScraper):
latestUrl = 'http://aetheria-epics.schala.net/'
stripUrl = latestUrl + '%s.html'
imageSearch = compile(tagre("img", "src", r'(\d{5}\.jpg)'))
prevSearch = compile(tagre("a", "href", r'(\d{5}\.html)') + "Previous")
help = 'Index format: nnn'
class AirForceBlues(_BasicScraper):
latestUrl = 'http://www.afblues.com/'
stripUrl = latestUrl + 'wordpress/%s'
imageSearch = compile(tagre("img", "src", r'(http://www\.afblues\.com/wordpress/comics/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'([^"]+)', after='Previous'))
help = 'Index format: yyyy/mm/dd/name/'
class AlienShores(_BasicScraper):
latestUrl = 'http://alienshores.com/alienshores_band/'
stripUrl = latestUrl + '%s'
imageSearch = compile(tagre("img", "src", r'(http://alienshores\.com/alienshores_band/comics/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://alienshores\.com/[^"]+)', after="prev"))
help = 'Index format: yyyy/mm/dd/p