From df7404fd7c29a05888d8cb92799e0ffc21fb2a6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damjan=20Ko=C5=A1ir?= Date: Sun, 31 May 2015 22:50:17 +1200 Subject: [PATCH] fixed CatsAndCameras --- dosagelib/plugins/c.py | 10 ---------- dosagelib/plugins/comicpress.py | 5 +++-- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/dosagelib/plugins/c.py b/dosagelib/plugins/c.py index b1b766412..4f40723c4 100755 --- a/dosagelib/plugins/c.py +++ b/dosagelib/plugins/c.py @@ -99,16 +99,6 @@ class CatAndGirl(_BasicScraper): ) -class CatsAndCameras(_BasicScraper): - url = 'http://catsncameras.com/cnc/' - rurl = escape(url) - stripUrl = url + '?comic=%s' - imageSearch = compile(tagre("img", "src", r'(%swp-content/uploads/\d+/\d+/[^"]+)' % rurl)) - prevSearch = compile(tagre("span", "class", r'mininav-prev') + - tagre("a", "href", r'(%s[^"]+)' % rurl)) - help = 'Index format: stripname' - - class ChainsawSuit(_ParserScraper): url = 'http://chainsawsuit.com/' rurl = escape(url) diff --git a/dosagelib/plugins/comicpress.py b/dosagelib/plugins/comicpress.py index e05656bc7..7b1b62920 100644 --- a/dosagelib/plugins/comicpress.py +++ b/dosagelib/plugins/comicpress.py @@ -28,9 +28,10 @@ add('AxeCop', 'http://axecop.com/comic/season-two/') add('BloodBound', 'http://bloodboundcomic.com/', 'comic/06112006/') add('BratHalla', 'http://brat-halla.com/') add('BroodHollow', 'http://broodhollow.chainsawsuit.com/', 'page/2012/10/06/book-1-curious-little-thing') -add('Buni','http://www.bunicomic.com/') -add('BusinessCat','http://www.businesscat.happyjar.com/') +add('Buni', 'http://www.bunicomic.com/') +add('BusinessCat', 'http://www.businesscat.happyjar.com/') add('Catena', 'http://catenamanor.com/') +add('CatsAndCameras', 'http://catsncameras.com/') add('CraftedFables', 'http://www.caf-fiends.net/comicpress/') add('CourtingDisaster', 'http://www.courting-disaster.com/', 'comic/courting-disaster-17/') add('CowboyJedi', 'http://www.cowboyjedi.com/')