Added Carciphona

This commit is contained in:
Bastian Kleineidam 2013-04-25 20:40:15 +02:00
parent 51d84131eb
commit c114a834dd
2 changed files with 18 additions and 1 deletions

View file

@ -1,7 +1,7 @@
Dosage 2.2 (released xx.xx.2013) Dosage 2.2 (released xx.xx.2013)
Features: Features:
- comic: Added ARedTailsDream. - comic: Added ARedTailsDream, Carciphona.
Patch by Dirk Reiners Patch by Dirk Reiners
Changes: Changes:

View file

@ -31,6 +31,23 @@ class CaptainSNES(_BasicScraper):
help = 'Index format: yyyy/mm/dd/nnn-stripname' help = 'Index format: yyyy/mm/dd/nnn-stripname'
class Carciphona(_BasicScraper):
description = u'Fantasy webcomic by Shilin'
url = 'http://carciphona.com/'
stripUrl = url + 'view.php?page=%s&chapter=%s'
imageSearch = compile(tagre("div", "style", r'background-image:url\((_pages[^)]*)\)'))
prevSearch = compile(tagre("a", "href", r'(view.php?[^"]*)', after="prevarea"))
latestSearch = compile(tagre("a", "href", r'(view.php?[^"]*)') +
tagre("div", "class", "linkslast"))
help = 'Index format: None'
starter = indirectStarter(url, latestSearch)
@classmethod
def namer(cls, imageUrl, pageUrl):
ip = imageUrl.split('/')
return "volume_%s_page_%s" % (ip[-2], ip[-1])
class CaseyAndAndy(_BasicScraper): class CaseyAndAndy(_BasicScraper):
description = u'Casey and Andy' description = u'Casey and Andy'
url = 'http://www.galactanet.com/comic/' url = 'http://www.galactanet.com/comic/'