diff --git a/dosagelib/plugins/a.py b/dosagelib/plugins/a.py index d334cec0a..09856a217 100644 --- a/dosagelib/plugins/a.py +++ b/dosagelib/plugins/a.py @@ -253,11 +253,13 @@ class Altermeta(_ParserScraper): return pageUrl.rsplit('=', 1)[-1] + '_' + imageUrl.rsplit('/', 1)[-1] -class AltermetaOld(Altermeta): +class AltermetaOld(_ParserScraper): url = Altermeta.url + 'oldarchive/index.php' stripUrl = Altermeta.url + 'oldarchive/archive.php?comic=%s' firstStripUrl = stripUrl % '0' - prevSearch = compile(r'Back') + imageSearch = '//img[contains(@src, "comics/")]' + prevSearch = '//a[text()="Back"]' + help = 'Index format: n (unpadded)' class AmazingSuperPowers(_BasicScraper):