Add AmbersNoBrainers
This commit is contained in:
parent
e6b1895d3b
commit
44d2198c34
1 changed files with 15 additions and 0 deletions
|
@ -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/'
|
||||
|
||||
|
|
Loading…
Reference in a new issue