Switch AGirlAndHerFed to parser scraper

This commit is contained in:
Techwolf 2019-06-13 20:07:19 -07:00 committed by Tobias Gruetzmacher
parent ed3acd2d2f
commit f5b7b067b7

View file

@ -76,12 +76,12 @@ class AfterStrife(_WPNavi):
endOfLife = True
class AGirlAndHerFed(_BasicScraper):
url = 'http://www.agirlandherfed.com/'
class AGirlAndHerFed(_ParserScraper):
url = 'https://agirlandherfed.com/'
stripUrl = url + '1.%s.html'
firstStripUrl = stripUrl % '1'
imageSearch = compile(tagre("img", "src", r'(img/strip/[^"]+\.jpg)'))
prevSearch = compile(r'<a href="([^"]+)">[^>]+Back')
imageSearch = '//div[@id="comic-image"]/img'
prevSearch = '//div[@id="comic-nav"]/a[.//img[contains(@src, "back")]]'
help = 'Index format: nnn'