From be6a6722b59aac0b6fc646f9be693512b677ef82 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Fri, 21 Jun 2019 23:13:25 -0700 Subject: [PATCH] Add UnlikeMinerva --- dosagelib/plugins/u.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/dosagelib/plugins/u.py b/dosagelib/plugins/u.py index 6d3508919..83e0a61a9 100644 --- a/dosagelib/plugins/u.py +++ b/dosagelib/plugins/u.py @@ -7,7 +7,7 @@ from __future__ import absolute_import, division, print_function from re import compile, escape -from ..scraper import _BasicScraper +from ..scraper import _BasicScraper, _ParserScraper from ..helpers import indirectStarter from ..util import tagre from .common import _WordPressScraper, _WPNavi @@ -36,6 +36,18 @@ class UnicornJelly(_BasicScraper): help = 'Index format: nnn' +class UnlikeMinerva(_ParserScraper): + baseUrl = 'https://www.unlikeminerva.com/archive/index.php' + stripUrl = baseUrl + '?week=%s' + url = stripUrl % '127' + firstStripUrl = stripUrl % '26' + imageSearch = '//img[contains(@src, "archive/")]' + prevSearch = '//a[./img[contains(@src, "previous")]]' + multipleImagesPerStrip = True + endOfLife = True + help = 'Index format: number' + + class Unsounded(_BasicScraper): url = 'http://www.casualvillain.com/Unsounded/' stripUrl = url + 'comic/ch%s/ch%s_%s.html'