Fix Gunnerkrigg Court prevSearch matcher (#135)

This commit is contained in:
Mikkel Høgh 2019-06-26 23:25:02 +02:00 committed by Tobias Gruetzmacher
parent 78ac7144b2
commit f29d14c3b4

View file

@ -170,12 +170,12 @@ class GUComics(_BasicScraper):
class GunnerkriggCourt(_BasicScraper):
url = 'http://www.gunnerkrigg.com/'
url = 'https://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", "http://www\.gunnerkrigg\.com/images/prev_a\.jpg"))
tagre("img", "src", "/images/prev_a\.jpg"))
help = 'Index format: number'