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'
|
help = 'Index format: yyyymmdd'
|
||||||
|
|
||||||
|
|
||||||
class GunnerkriggCourt(_BasicScraper):
|
class GunnerkriggCourt(_ParserScraper):
|
||||||
url = 'https://www.gunnerkrigg.com/'
|
url = 'http://www.gunnerkrigg.com/'
|
||||||
stripUrl = url + '?p=%s'
|
stripUrl = url + '?p=%s'
|
||||||
imageSearch = compile(tagre("img", "src", r'(/comics/[^"]+)'))
|
firstStripUrl = stripUrl % '1'
|
||||||
prevSearch = compile(
|
imageSearch = '//img[@class="comic_image"]'
|
||||||
tagre("a", "href", r'(\?p=\d+)') +
|
prevSearch = '//a[./img[contains(@src, "prev")]]'
|
||||||
tagre("img", "src", r'/images/prev_a\.jpg'))
|
|
||||||
help = 'Index format: number'
|
help = 'Index format: number'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue