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