Add DeerMe

This commit is contained in:
Techwolf 2019-07-14 01:12:19 -07:00 committed by Tobias Gruetzmacher
parent 5e4bd6f34a
commit 6364b34233

View file

@ -95,6 +95,19 @@ class DeepFried(_BasicScraper):
help = 'Index format: none'
class DeerMe(_ParserScraper):
url = 'http://deerme.net/'
stripUrl = url + 'comics/%s'
firstStripUrl = stripUrl % '1'
imageSearch = ('//img[@id="comicimage"]', '//img[@id="latestcomicimage"]')
prevSearch = '//a[@rel="prev"]'
nextSearch = '//a[@rel="next"]'
starter = bounceStarter
def namer(self, imageUrl, pageUrl):
return pageUrl.rsplit('/', 1)[-1] + '.' + imageUrl.rsplit('.', 1)[-1]
class Delve(_WordPressScraper):
url = 'http://thisis.delvecomic.com/NewWP/'
stripUrl = url + 'comic/%s/'