fixed CheckerboardNightmare

This commit is contained in:
Damjan Košir 2015-05-25 22:19:36 +12:00
parent 5569439c43
commit 7067c51056

View file

@ -150,13 +150,13 @@ class ChasingTheSunset(_BasicScraper):
help = 'Index format: n' help = 'Index format: n'
class CheckerboardNightmare(_BasicScraper): class CheckerboardNightmare(_ParserScraper):
url = 'http://www.checkerboardnightmare.com/' url = 'http://www.checkerboardnightmare.com/'
stripUrl = url + 'd/%s.shtml' stripUrl = url + 'd/%s'
firstStripUrl = stripUrl % '20001110' firstStripUrl = stripUrl % '20001110.html'
imageSearch=compile(tagre("img", "src", r'(/comic[s|/][^"]+)')) imageSearch = '//td[@colspan="4"]//img'
prevSearch=compile(tagre("a", "href", r'[^"]*(/d/\d+\.s?html)')+r"[^>]+/images/(?:nav_02|previous_day)\.gif") prevSearch = '//td[2]/a'
help='Index format: yyyymmdd' help = 'Index format: yyyymmdd'
class Chester5000XYV(_BasicScraper): class Chester5000XYV(_BasicScraper):