From 9be6f613e44cda3a6f4dc2ee4e027835a21a080d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damjan=20Ko=C5=A1ir?= Date: Sun, 31 May 2015 23:39:04 +1200 Subject: [PATCH] fixed MysteriesOfTheArcana --- dosagelib/plugins/m.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/dosagelib/plugins/m.py b/dosagelib/plugins/m.py index c106867fa..53564432b 100755 --- a/dosagelib/plugins/m.py +++ b/dosagelib/plugins/m.py @@ -176,11 +176,8 @@ class MyCartoons(_BasicScraper): lang = 'de' -class MysteriesOfTheArcana(_BasicScraper): +class MysteriesOfTheArcana(_ParserScraper): url = 'http://mysteriesofthearcana.com/' - rurl = escape(url) - stripUrl = url + 'index.php?action=comics&cid=%s' - firstStripUrl = stripUrl % '1' - imageSearch = compile(tagre("img", "src", r'(%simage\.php\?type=com&i=[^"]+)' % rurl)) - prevSearch = compile(tagre("a", "href", r'(/index\.php[^"]+)', after="navprevious")) + imageSearch = '//div[@id="comic"]//img' + prevSearch = '//a[@class="navprevious"]' help = 'Index format: n (unpadded)'