diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py index 7e03a6432..ab9a4d89d 100644 --- a/dosagelib/plugins/d.py +++ b/dosagelib/plugins/d.py @@ -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/'