From f095f6309ee57a73668f403e2aec0622a40eac66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damjan=20Ko=C5=A1ir?= Date: Tue, 10 Dec 2013 16:31:03 +1300 Subject: [PATCH] added comic Edmund Finney's Quest to Find the Meaning of Life --- dosagelib/plugins/e.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dosagelib/plugins/e.py b/dosagelib/plugins/e.py index 884c18cf0..0de9a2fde 100644 --- a/dosagelib/plugins/e.py +++ b/dosagelib/plugins/e.py @@ -56,6 +56,15 @@ class EdibleDirt(_BasicScraper): prevSearch = compile(tagre("a", "href", r"(index\.php\?id=\d+)")+"Previous") help = 'Index format: number' +class EdmundFinney(_BasicScraper): + description = u"Edmund Finney's Quest to Find the Meaning of Life" + url = 'http://eqcomics.com/' + rurl = escape(url) + stripUrl = url + '%s/' + firstStripUrl = stripUrl % '2009/03/08/sunday-aliens' + imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+-[^"/]+)' % rurl)) + prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/\d+/[^"/]+/)' % rurl, after="navi navi-prev")) + help = 'Index format: yyyy/mm/dd/stripname' class EerieCuties(_BasicScraper): url = 'http://www.eeriecuties.com/'