Fix Guardia

This commit is contained in:
Techwolf 2022-02-19 01:51:15 -08:00
parent 5c8156f2e7
commit a9421c458f
3 changed files with 2 additions and 13 deletions

View file

@ -464,6 +464,7 @@ class ComicFury(_ParserScraper):
cls('GrippsBrain', 'grippsbrain'),
cls('GrokBoop', 'grokboop'),
cls('GrowingTroubles', 'growingtroubles'),
cls('Guardia', 'guardia-tales-of-halgeis'),
cls('GUS', 'gus'),
cls('HalloweenCameoCaper2012', 'halloween2012'),
cls('HalloweenCameoCaper2013', 'halloween2013'),

View file

@ -145,19 +145,6 @@ class GrrlPower(_WordPressScraper):
self.session.add_throttle('grrlpowercomic.com', 1.0, 1.5)
class Guardia(_ParserScraper):
url = 'https://ssp-comics.com/comics/Guardia/'
stripUrl = url + '?page=%s'
firstStripUrl = stripUrl % '1'
imageSearch = '//img[contains(@src, "comics/Guardia/")]'
prevSearch = '//a[./button[@id="prevButton"]]'
nextSearch = '//a[./button[@id="nextButton"]]'
starter = bounceStarter
def namer(self, imageUrl, pageUrl):
return pageUrl.rsplit('=', 1)[-1] + '.' + imageUrl.rsplit('.', 1)[-1]
class GuildedAge(_WordPressScraper):
url = 'http://guildedage.net/'
firstStripUrl = url + 'comic/chapter-1-cover/'

View file

@ -1619,6 +1619,7 @@ class Renamed(Scraper):
cls('GoComics/PeanutsEnEspanol', 'GoComics/SnoopyEnEspanol'),
cls('GoComics/RipleysBelieveItOrNotSpanish', 'GoComics/RipleysAunqueUstedNoLoCrea'),
cls('GoComics/WebcomicName', 'WebcomicName'),
cls('Guardia', 'ComicFury/Guardia'),
cls('Shivae/BlackRose', 'BlackRose'),
cls('SmackJeeves/BlackTapestries', 'ComicFury/BlackTapestries'),
cls('SmackJeeves/ByTheBook', 'ByTheBook'),