Fix ASofterWorld

This commit is contained in:
Bastian Kleineidam 2013-02-16 14:18:43 +01:00
parent 10808a7bc1
commit a99fbbcf45

View file

@ -20,7 +20,8 @@ class ALessonIsLearned(_BasicScraper):
class ASofterWorld(_BasicScraper):
url = 'http://www.asofterworld.com/'
stripUrl = url + 'index.php?id=%s'
imageSearch = compile(tagre("img", "src", r'(http://www\.asofterworld\.com/clean/[^"]+)'))
imageSearch = compile(tagre("p", "id", "thecomic") + r'\s*' +
tagre("img", "src", r'(http://www\.asofterworld\.com/clean/[^"]+)'))
prevSearch = compile(tagre("a", "href", "(index\.php\?id=\d+)")+'< back')
help = 'Index format: n (unpadded)'