Add Tamberlane
This commit is contained in:
parent
05854b6ddf
commit
1def5739b1
1 changed files with 14 additions and 0 deletions
|
@ -25,6 +25,20 @@ class TalesOfTheQuestor(_ParserScraper):
|
|||
prevSearch = ('//a[@rel="prev"]', '//a[@title="Tales of the Questor"]')
|
||||
|
||||
|
||||
class Tamberlane(_ParserScraper):
|
||||
baseUrl = 'https://www.tamberlanecomic.com/'
|
||||
url = baseUrl + 'latest/'
|
||||
stripUrl = baseUrl + 'tamberlane/%s/'
|
||||
firstStripUrl = stripUrl % 'page-1'
|
||||
imageSearch = '//div[@class="webcomic-image"]//img'
|
||||
prevSearch = '//a[contains(@class, "previous-webcomic-link")]'
|
||||
|
||||
def namer(self, imageUrl, pageUrl):
|
||||
# Fix inconsistent filenames
|
||||
filename = imageUrl.rsplit('/', 1)[-1]
|
||||
return filename.replace('ai4zCWaA', 'Page_152')
|
||||
|
||||
|
||||
class TheBrads(_ParserScraper):
|
||||
url = 'http://bradcolbow.com/archive/'
|
||||
imageSearch = '//div[%s]//img' % xpath_class('entry')
|
||||
|
|
Loading…
Reference in a new issue