From 89f1170ff486dbd5ee96eea0f19e2a85df1d7672 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Wed, 20 Feb 2013 23:34:55 +0100 Subject: [PATCH] Add AlphaLuna and AlphaLuna/Spanish. --- dosagelib/plugins/a.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dosagelib/plugins/a.py b/dosagelib/plugins/a.py index cd30d2338..f44fbe8da 100644 --- a/dosagelib/plugins/a.py +++ b/dosagelib/plugins/a.py @@ -83,6 +83,20 @@ class AlienLovesPredator(_BasicScraper): help = 'Index format: yyyy/mm/dd/name/' +class AlphaLuna(_BasicScraper): + url = 'http://www.alphaluna.net/' + stripUrl = url + 'issue-%s/' + imageSearch = compile(tagre("a", "href", r'[^"]*/(?:issue-|support/upcoming)[^"]+') + tagre("img", "src", r'([^"]*/PAGINAS/[^"]+)')) + prevSearch = compile(tagre("a", "href", r'([^"]+)') + tagre("img", "alt", "Prev")) + help = 'Index format: issue/page (e.g. 4/05)' + + +class AlphaLunaSpanish(AlphaLuna): + name = 'AlphaLuna/Spanish' + url = 'http://alphaluna.net/spanish/' + stripUrl = url + 'issue-%s/' + + class Altermeta(_BasicScraper): url = 'http://altermeta.net/' stripUrl = url + 'archive.php?comic=%s'