fixed MysteriesOfTheArcana

This commit is contained in:
Damjan Košir 2015-05-31 23:39:04 +12:00
parent 3ea8236224
commit 9be6f613e4

View file

@ -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)'