From 96f61542eecb82a3599c23ab1f359dd758b303b1 Mon Sep 17 00:00:00 2001 From: Freestila Date: Tue, 18 Feb 2014 21:00:19 +0100 Subject: [PATCH 1/6] Added comic "Die Fruehreifen" --- dosagelib/plugins/d.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py index 36520f1a6..6f4a9bc58 100644 --- a/dosagelib/plugins/d.py +++ b/dosagelib/plugins/d.py @@ -155,6 +155,16 @@ class DerTodUndDasMaedchen(_BasicScraper): lang = 'de' +class DieFruehreifen(_BasicScraper): + url = 'http://www.die-fruehreifen.de/index.php' + stripUrl = url + '?id=%s&order=DESC' + firstStripUrl = stripUrl % '1' + imageSearch = compile(tagre("img", "src", r"(strips/[F,f]rueh[_]?[S,s]trip_\d+.jpg)")) + prevSearch = compile(tagre("a", "href", r"(index\.php\?id=\d+&order=DESC)") + tagre("img","id",r"naechster")) + help = 'Index format: n (unpadded)' + lang = 'de' + + class DieselSweeties(_BasicScraper): description = u'diesel sweeties : robot webcomic & geeky music t-shirts' url = 'http://www.dieselsweeties.com/' From de0bb1c9d5ee3650f447f39c7c995698c1835465 Mon Sep 17 00:00:00 2001 From: Freestila Date: Tue, 18 Feb 2014 21:00:43 +0100 Subject: [PATCH 2/6] Added comic "The Landscaper" --- dosagelib/plugins/t.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dosagelib/plugins/t.py b/dosagelib/plugins/t.py index 43b560587..52c451692 100755 --- a/dosagelib/plugins/t.py +++ b/dosagelib/plugins/t.py @@ -71,6 +71,15 @@ class TheGentlemansArmchair(_BasicScraper): help = 'Index Format: name' +class TheLandscaper(_BasicScraper): + url = 'http://landscaper.visual-assault.net/comic/latest' + rurl = escape(url) + stripUrl = url + 'comic/%s' + firstStripUrl = stripUrl % '1' + imageSearch = compile(tagre("img", "src", r'(/comics/comic/comic_page/[^"]+)')) + prevSearch = compile(tagre("a", "href", r'(/comic/[^"]+)')+'‹ Previous') + help = 'Index format: name' + class TheNoob(_BasicScraper): url = 'http://www.thenoobcomic.com/index.php' stripUrl = url + '?pos=%s' From 67c31284f116bbeb7dc0ceef316fb3611eef6698 Mon Sep 17 00:00:00 2001 From: Freestila Date: Tue, 18 Feb 2014 21:12:29 +0100 Subject: [PATCH 3/6] Added comic GrimTales from Down Below --- dosagelib/plugins/snafu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dosagelib/plugins/snafu.py b/dosagelib/plugins/snafu.py index 20f69f8d0..9ee696d6d 100644 --- a/dosagelib/plugins/snafu.py +++ b/dosagelib/plugins/snafu.py @@ -36,3 +36,4 @@ add('Soul', 'soul') add('FT', 'ft') add('Bunnywith', 'bunnywith') add('Braindead', 'braindead') +add('GrimTalesFromDownBelow', 'grim') \ No newline at end of file From 3d19d45e816453ff3a06f376921b997330af8543 Mon Sep 17 00:00:00 2001 From: Freestila Date: Thu, 20 Feb 2014 12:54:13 +0100 Subject: [PATCH 4/6] Added wait 1 sek because of permanent Timeout / connection pool exceed from server --- dosagelib/plugins/snafu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dosagelib/plugins/snafu.py b/dosagelib/plugins/snafu.py index 9ee696d6d..1e2fcc6eb 100644 --- a/dosagelib/plugins/snafu.py +++ b/dosagelib/plugins/snafu.py @@ -19,6 +19,7 @@ def add(name, host): stripUrl = baseUrl + '?comic_id=%s', imageSearch = _imageSearch, prevSearch = _prevSearch, + waitSeconds = 1, help = 'Index format: n (unpadded)', ) From b8fefb37c01aca0816a197aa7a6ba7d087ef874c Mon Sep 17 00:00:00 2001 From: Freestila Date: Thu, 20 Feb 2014 12:54:40 +0100 Subject: [PATCH 5/6] Added comic Underling --- dosagelib/plugins/u.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dosagelib/plugins/u.py b/dosagelib/plugins/u.py index 5166eea79..cf52cd873 100644 --- a/dosagelib/plugins/u.py +++ b/dosagelib/plugins/u.py @@ -8,6 +8,15 @@ from ..scraper import _BasicScraper from ..helpers import bounceStarter, indirectStarter from ..util import getQueryParams, tagre +class Underling(_BasicScraper): + url = 'http://underlingcomic.com/' + stripUrl = url + rurl = escape(url) + firstStripUrl = stripUrl + 'page-one/' + imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]*)' % rurl)) + prevSearch = compile(tagre("a", "href", r'([^"]+)', after = r'class="[^"]*navi-prev')) + help = 'Index format: nnn' + class Undertow(_BasicScraper): url = 'http://undertow.dreamshards.org/' From 53ebb51b104a448559c96b736739cb1a800fc876 Mon Sep 17 00:00:00 2001 From: Freestila Date: Thu, 27 Feb 2014 15:08:07 +0100 Subject: [PATCH 6/6] Added comic DungeonsAndDenizens --- dosagelib/plugins/d.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py index 6f4a9bc58..0afba6954 100644 --- a/dosagelib/plugins/d.py +++ b/dosagelib/plugins/d.py @@ -325,3 +325,11 @@ class _DumbingOfAge(_BasicScraper): prevSearch = compile(tagre("a", "href", r'(%s\d+/[^"]+)' % rurl, after="prev")) imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+[^"]+)' % rurl)) help = 'Index format: yyyy/comic/book-num/seriesname/stripname' + +class DungeonsAndDenizens(_BasicScraper): + url = 'http://dungeond.com/' + stripUrl = url + '\d/\d/\d/%s/' + firstStripUrl = stripUrl % '08232005' + imageSearch = compile(tagre("img", "src", r'(%sfiles//comics/[^"]+)' % url)) + prevSearch = compile(tagre("a", "href", r'(%s[^"]+)' % url) + "Previous") + help = 'Index format: ddmmyyyy'