Add AmbersNoBrainers

This commit is contained in:
Techwolf 2019-07-13 23:31:24 -07:00 committed by Tobias Gruetzmacher
parent e6b1895d3b
commit 44d2198c34

View file

@ -279,6 +279,21 @@ class AmazingSuperPowers(_BasicScraper):
)
class AmbersNoBrainers(_ParserScraper):
baseUrl = 'https://foxyverse.com/'
url = baseUrl + 'comics/'
stripUrl = baseUrl + 'ambers-no-brainers-%s/'
firstStripUrl = stripUrl % '1'
imageSearch = '//img[contains(@src, "Page")]'
latestSearch = '//a[contains(@href, "ambers-no-brainers")]'
starter = indirectStarter
def getPrevUrl(self, url, data):
# Replace missing navigation links
pageNum = int(url.rstrip('/').rsplit('-', 1)[-1])
return self.stripUrl % str(pageNum - 1)
class Amya(_WordPressScraper):
url = 'http://www.amyachronicles.com/'