From 8df9d20556533d19b04d27a8ddf5a65b0bebc372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damjan=20Ko=C5=A1ir?= Date: Sun, 26 Apr 2015 22:32:52 +1200 Subject: [PATCH] added doctor cat --- dosagelib/plugins/d.py | 12 +++++++++++- dosagelib/plugins/t.py | 1 - 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py index bd34d9922..8224444aa 100644 --- a/dosagelib/plugins/d.py +++ b/dosagelib/plugins/d.py @@ -4,7 +4,7 @@ from re import compile, escape -from ..scraper import _BasicScraper +from ..scraper import _BasicScraper, _ParserScraper from ..helpers import indirectStarter, bounceStarter from ..util import tagre @@ -199,6 +199,16 @@ class DMFA(_BasicScraper): help = 'Index format: nnn (normally, some specials)' +class DoctorCat(_ParserScraper): + url = "http://doctorcatmd.com/" + stripUrl = url + "comic/%s" + firstStripUrl = stripUrl % "doctor-cat" + css = True + imageSearch = '#comic img' + prevSearch = '.navi-prev' + help = 'Index format: stripname' + + class DoemainOfOurOwn(_BasicScraper): url = 'http://www.doemain.com/' stripUrl = url + 'index.cgi/%s' diff --git a/dosagelib/plugins/t.py b/dosagelib/plugins/t.py index 42b0d41a1..6911a51c7 100755 --- a/dosagelib/plugins/t.py +++ b/dosagelib/plugins/t.py @@ -48,7 +48,6 @@ class TheDreamlandChronicles(_BasicScraper): class TheGamerCat(_ParserScraper): url = "http://www.thegamercat.com/" - rurl = escape(url) stripUrl = url + "comic/%s/" firstStripUrl = stripUrl % "06102011" css = True