Fix DominicDeegan

This commit is contained in:
Techwolf 2019-06-12 23:14:39 -07:00 committed by Tobias Gruetzmacher
parent 1b87afad7e
commit b055a8574f

View file

@ -193,13 +193,14 @@ class DogHouseDiaries(_BasicScraper):
help = 'Index format: number' help = 'Index format: number'
class DominicDeegan(_BasicScraper): class DominicDeegan(_ParserScraper):
url = 'http://www.dominic-deegan.com/' url = 'http://www.dominic-deegan.com/'
stripUrl = url + 'view.php?date=%s' stripUrl = url + 'comic/%s/'
firstStripUrl = stripUrl % '2002-05-21' firstStripUrl = stripUrl % '0001-20020521'
imageSearch = compile(tagre("img", "src", r'(comics/[^"]+)')) imageSearch = '//img[contains(@class, "wp-post-image")]'
prevSearch = compile(r'"(view.php\?date=[^"]+)".+?prev21') prevSearch = '//a[@title="Prev"]'
help = 'Index format: yyyy-mm-dd' endOfLife = True
help = 'Index format: ####-yyyymmdd'
class DorkTower(_ParserScraper): class DorkTower(_ParserScraper):