From a99fbbcf45c7d869702436527120591a37428de2 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Sat, 16 Feb 2013 14:18:43 +0100 Subject: [PATCH] Fix ASofterWorld --- dosagelib/plugins/a.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dosagelib/plugins/a.py b/dosagelib/plugins/a.py index eb6cf1e0a..f0873dc5f 100644 --- a/dosagelib/plugins/a.py +++ b/dosagelib/plugins/a.py @@ -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)'