Fix GunnerkriggCourt
This commit is contained in:
parent
835f484673
commit
f79d3c9309
1 changed files with 5 additions and 6 deletions
|
@ -183,13 +183,12 @@ class GUComics(_BasicScraper):
|
|||
help = 'Index format: yyyymmdd'
|
||||
|
||||
|
||||
class GunnerkriggCourt(_BasicScraper):
|
||||
url = 'https://www.gunnerkrigg.com/'
|
||||
class GunnerkriggCourt(_ParserScraper):
|
||||
url = 'http://www.gunnerkrigg.com/'
|
||||
stripUrl = url + '?p=%s'
|
||||
imageSearch = compile(tagre("img", "src", r'(/comics/[^"]+)'))
|
||||
prevSearch = compile(
|
||||
tagre("a", "href", r'(\?p=\d+)') +
|
||||
tagre("img", "src", r'/images/prev_a\.jpg'))
|
||||
firstStripUrl = stripUrl % '1'
|
||||
imageSearch = '//img[@class="comic_image"]'
|
||||
prevSearch = '//a[./img[contains(@src, "prev")]]'
|
||||
help = 'Index format: number'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue