From a5b0d0c5de1ce32102af639e498776cd056a8846 Mon Sep 17 00:00:00 2001 From: Manabi Date: Mon, 26 Jan 2015 04:21:24 -0500 Subject: [PATCH 1/3] Added definition for Drive comic --- dosagelib/plugins/d.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py index edf4a2cb2..4b90c5144 100644 --- a/dosagelib/plugins/d.py +++ b/dosagelib/plugins/d.py @@ -289,6 +289,18 @@ class DrFun(_BasicScraper): endOfLife = True +class Drive(_BasicScraper): + description = u'DRIVE tells the story of a second Spanish empire, a galactic empire, and its looming war with a race called The Continuum of +Makers. ' + url = 'http://www.drivecomic.com/' + rurl = escape(url) + stripUrl = url + 'archive/%s.html' + firstStripUrl = stripUrl % '090815' + imageSearch = compile(tagre("img", "src", r'(http://cdn\.drivecomic\.com/strips/main/[^"]+)')) + prevSearch = compile(tagre("a", "href", r'(%sarchive/\d+\.html)' % rurl) + "Previous") + help = 'Index format: yymmdd' + + # XXX navigation works only with JavaScript class _DrMcNinja(_BasicScraper): description = u'The Adventures of Dr. McNinja' From 190f53ee4d09de6ec72d993828180e7e57dd5fc8 Mon Sep 17 00:00:00 2001 From: Manabi Date: Mon, 2 Feb 2015 04:24:32 -0500 Subject: [PATCH 2/3] Fixing name of GunnkriggCourt Existing name was missing a g. --- dosagelib/plugins/g.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dosagelib/plugins/g.py b/dosagelib/plugins/g.py index 5f61cb4b3..a0023169d 100644 --- a/dosagelib/plugins/g.py +++ b/dosagelib/plugins/g.py @@ -19,7 +19,7 @@ class Gaia(_BasicScraper): help = 'Index format: yyyy/mm/dd/number-stripname' class GaiaGerman(_BasicScraper): - description = u'Gaia, eine Geschichte über das Wesen der Wirklichkeit und die Antwort auf Liliths einfache, bescheidene, welterschütternde Frage: ?Kommt ihr mit??' + description = u'Gaia, eine Geschichte über das Wesen der Wirklichkeit und die Antwort auf Liliths einfache, bescheidene, welterschütternde Frage: ?Kommt ihr mit??' url = 'http://www.sandraandwoo.com/gaiade/' rurl = escape(url) stripUrl = url + '%s/' @@ -198,7 +198,7 @@ class GrrlPower(_BasicScraper): help = 'Index format: number' -class GunnerkrigCourt(_BasicScraper): +class GunnerkriggCourt(_BasicScraper): description = u'Gunnerkrigg Court is a science-fantasy webcomic created by Tom Siddell. It is updated online three days a week.' url = 'http://www.gunnerkrigg.com/' stripUrl = url + '?p=%s' From f85464ccb2bb6fc88c87b7d7489e2f139482fa2e Mon Sep 17 00:00:00 2001 From: Manabi Date: Mon, 2 Feb 2015 04:35:49 -0500 Subject: [PATCH 3/3] Fixed unclosed ' error Lines 293/294 should have been one line, this is now fixed. --- dosagelib/plugins/d.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py index 4b90c5144..3fdb899bb 100644 --- a/dosagelib/plugins/d.py +++ b/dosagelib/plugins/d.py @@ -290,8 +290,7 @@ class DrFun(_BasicScraper): class Drive(_BasicScraper): - description = u'DRIVE tells the story of a second Spanish empire, a galactic empire, and its looming war with a race called The Continuum of -Makers. ' + description = u'DRIVE tells the story of a second Spanish empire, a galactic empire, and its looming war with a race called The Continuum of Makers.' url = 'http://www.drivecomic.com/' rurl = escape(url) stripUrl = url + 'archive/%s.html'