Fix Concession

This commit is contained in:
Techwolf 2019-07-12 01:36:47 -07:00 committed by Tobias Gruetzmacher
parent f6b358c754
commit ea94a62f58

View file

@ -295,14 +295,14 @@ class CompanyY(_BasicScraper):
help = 'Index format: yyyy/mm/dd/strip-name' help = 'Index format: yyyy/mm/dd/strip-name'
class Concession(_BasicScraper): class Concession(_ParserScraper):
url = 'http://concessioncomic.com/' url = 'http://concessioncomic.com/'
rurl = escape(url)
stripUrl = url + 'index.php?pid=%s' stripUrl = url + 'index.php?pid=%s'
firstStripUrl = stripUrl % '20060701' firstStripUrl = stripUrl % '20060701'
imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]+)' % rurl, after="Comic")) imageSearch = '//div[@id="comic"]/img[not(@class="preload")]'
prevSearch = compile(tagre("a", "href", r'(%sindex\.php\?pid=\d+)' % rurl, after="nav-prev")) prevSearch = '//a[@class="nav-prev"]'
help = 'Index format: number' adult = True
endOfLife = True
class CorydonCafe(_ParserScraper): class CorydonCafe(_ParserScraper):