Fix DominicDeegan
This commit is contained in:
parent
1b87afad7e
commit
b055a8574f
1 changed files with 7 additions and 6 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue