fixing EdmundFinney

This commit is contained in:
Damjan Košir 2016-03-14 20:32:18 +13:00
parent 6532f15f54
commit 615f094ef3

View file

@ -64,13 +64,11 @@ class EdibleDirt(_BasicScraper):
prevSearch = compile(tagre("a", "href", r"(index\.php\?id=\d+)")+"Previous")
help = 'Index format: number'
class EdmundFinney(_BasicScraper):
class EdmundFinney(_ParserScraper):
url = 'http://eqcomics.com/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2009/03/08/sunday-aliens'
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+-[^"/]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/\d+/[^"/]+/)' % rurl, after="navi navi-prev"))
firstStripUrl = url + '2009/03/08/sunday-aliens/'
imageSearch = '//div[@id="comic"]//img'
prevSearch = '//a[@class="navi navi-prev"]'
help = 'Index format: yyyy/mm/dd/stripname'
class EerieCuties(_BasicScraper):