From f48b22b5128238f61fe697ae44b0252702e980cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damjan=20Ko=C5=A1ir?= Date: Tue, 10 Dec 2013 16:40:44 +1300 Subject: [PATCH] added comic Not Invented Here --- dosagelib/plugins/n.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dosagelib/plugins/n.py b/dosagelib/plugins/n.py index dcae95739..1781250b9 100644 --- a/dosagelib/plugins/n.py +++ b/dosagelib/plugins/n.py @@ -163,6 +163,15 @@ class NoNeedForBushido(_BasicScraper): starter = indirectStarter(url, compile(tagre("a", "href", r'(%s\?webcomic1=[^"]+)' % rurl, after="last-webcomic"))) +class NotInventedHere(_BasicScraper): + description = u'Not Invented Here' + url = 'http://notinventedhe.re/' + rurl = escape(url) + stripUrl = url + '%s/' + firstStripUrl = stripUrl % 'on/2009-9-21' + imageSearch = compile(tagre("img", "src", r'(http://thiswas.notinventedhe.re/on/\d+-\d+-\d+)')) + prevSearch = compile(tagre("a", "href", r'(/on/\d+-\d+-\d+)')+'\s*Previous') + help = 'Index format: yyyy-mm-dd' class Nukees(_BasicScraper): description = u'Nukees, The Atomic Comic Strip'