From 4f47792dee239967fa9457ef188780e16024fe76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damjan=20Ko=C5=A1ir?= Date: Tue, 10 Dec 2013 16:33:07 +1300 Subject: [PATCH] added comic The Gamer Cat --- dosagelib/plugins/t.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dosagelib/plugins/t.py b/dosagelib/plugins/t.py index 59563a6f5..52e78a1a2 100644 --- a/dosagelib/plugins/t.py +++ b/dosagelib/plugins/t.py @@ -49,6 +49,15 @@ class TheDreamlandChronicles(_BasicScraper): bp[2] = bp[2][:-1] return "%s-%s-%s.%s" % (bp[0], bp[1], bp[2], ext) +class TheGamerCat(_BasicScraper): + description = u"The Gamer Cat" + url = 'http://www.thegamercat.com/' + rurl = escape(url) + stripUrl = url + '%s/' + firstStripUrl = stripUrl % '2011/06/06102011' + imageSearch = compile(tagre("img", "src", r'(%swordpress/comics/[^"/]+)' % rurl)) + prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/[^"/]+/)' % rurl , after="navi navi-prev")) + help = 'Index format: yyyy/mm/mmddyyyy' class TheNoob(_BasicScraper): url = 'http://www.thenoobcomic.com/index.php'