Added Carciphona
This commit is contained in:
parent
51d84131eb
commit
c114a834dd
2 changed files with 18 additions and 1 deletions
|
@ -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:
|
||||||
|
|
|
@ -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/'
|
||||||
|
|
Loading…
Reference in a new issue