Merge branch 'master' of github.com:wummel/dosage

This commit is contained in:
Bastian Kleineidam 2014-06-23 22:46:47 +02:00
commit 923b4d73d5

View file

@ -28,6 +28,15 @@ class SabrinaOnline(_BasicScraper):
archivepages = search.findall(data)
return cls.url + archivepages[-1]
class SafelyEndangered(_BasicScraper):
description = u''
url = 'http://www.safelyendangered.com/'
stripUrl = url + 'comic/%s'
firstStripUrl = stripUrl % 'ignored'
imageSearch = compile(tagre("img", "src", r'(http://www\.safelyendangered\.com/wp-content/uploads/\d+/\d+/[^"]+\.[a-z]+).*'))
prevSearch = compile(tagre("a", "href", r'([^"]+)', after="navi navi-prev"))
textSearch = compile(tagre("img", "title", r'([^"]+)', before=r'http://www\.safelyendangered\.com/wp-content/uploads'))
help = 'Index format: yyyy/mm/stripname'
class SailorsunOrg(_BasicScraper):
url = 'http://sailorsun.org/'