From e67b86c32f919550691d72e2ae218c87d6e0dc8a Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Thu, 7 Feb 2013 23:55:41 +0100 Subject: [PATCH] Add ParadigmShift. The file names for this are a bit inconsistent... --- dosagelib/plugins/p.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dosagelib/plugins/p.py b/dosagelib/plugins/p.py index f2064475c..20c09a3df 100644 --- a/dosagelib/plugins/p.py +++ b/dosagelib/plugins/p.py @@ -16,6 +16,15 @@ class PandyLand(_BasicScraper): help = 'Index format: number' +class ParadigmShift(_BasicScraper): + url = 'http://www.paradigmshiftmanga.com/' + starter = indirectStarter(url, compile(tagre("a", "href", r'([^"]+)', after="next-comic-link"))) + imageUrl = url + 'ps/%s.html' + imageSearch = compile(tagre("img", "src", r'([^"]*comics/ps/[^"]*)')) + prevSearch = compile(tagre("a", "href", r'([^"]+)', after="previous-comic-link")) + help = 'Index format: custom' + + class PartiallyClips(_BasicScraper): url = 'http://partiallyclips.com/' stripUrl = url + '%s/'