From 23afbd1fb76dab3ad839e7db108c1f6d6ccbea65 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Tue, 2 Jul 2019 21:43:45 -0700 Subject: [PATCH] Fix Misfile, add Misfile/HellHigh --- dosagelib/plugins/m.py | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/dosagelib/plugins/m.py b/dosagelib/plugins/m.py index cab42ae1c..da7a93a30 100755 --- a/dosagelib/plugins/m.py +++ b/dosagelib/plugins/m.py @@ -134,13 +134,19 @@ class Metacarpolis(_ComicControlScraper): url = 'http://www.metacarpolis.com' -class Misfile(_BasicScraper): - url = 'http://www.misfile.com/' - stripUrl = url + '?date=%s' +class Misfile(_ComicControlScraper): + url = 'http://www.misfile.com/misfile/' + stripUrl = url + '%s' firstStripUrl = stripUrl % '2004-02-22' - imageSearch = compile(tagre("img", "src", r"(comics/[^']+)", quote="'")) - prevSearch = compile(tagre("link", "href", r"([^']+)", quote="'", - before="Previous")) + endOfLife = True + help = 'Index format: yyyy-mm-dd' + + +class MisfileHellHigh(Misfile): + name = 'Misfile/HellHigh' + url = 'http://www.misfile.com/hell-high/' + stripUrl = url + '%s' + firstStripUrl = stripUrl % '2019-08-29' help = 'Index format: yyyy-mm-dd'