Added ARedTailsDream

This commit is contained in:
Bastian Kleineidam 2013-04-25 20:37:27 +02:00
parent dea34e6726
commit 51d84131eb
2 changed files with 16 additions and 0 deletions

View file

@ -1,6 +1,10 @@
Dosage 2.2 (released xx.xx.2013) Dosage 2.2 (released xx.xx.2013)
Features: Features:
- comic: Added ARedTailsDream.
Patch by Dirk Reiners
Changes:
- cmdline: Ignore trailing '/' at end of comic names. Useful - cmdline: Ignore trailing '/' at end of comic names. Useful
when using shell completion to pick comics. when using shell completion to pick comics.
Patch by Dirk Reiners. Patch by Dirk Reiners.

View file

@ -302,6 +302,18 @@ class AppleGeeks(_BasicScraper):
help = 'Index format: n (unpadded)' help = 'Index format: n (unpadded)'
class ARedTailsDream(_BasicScraper):
description = u"Finnish mythology meets teen boy and his dog"
baseUrl = 'http://www.minnasundberg.fi/'
stripUrl = baseUrl + 'comic/page%s.php'
firstStripUrl = stripUrl % '00'
url = baseUrl + 'comic/recent.php'
imageSearch = compile(tagre('img', 'src', r'(chapter.+?/eng[^"]*)'))
prevSearch = compile(tagre('a', 'href', r'(page\d+\.php)') +
tagre("img", "src", r'.*?aprev.*?'))
help = 'Index format: nn'
class ASofterWorld(_BasicScraper): class ASofterWorld(_BasicScraper):
url = 'http://www.asofterworld.com/' url = 'http://www.asofterworld.com/'
stripUrl = url + 'index.php?id=%s' stripUrl = url + 'index.php?id=%s'