Fix AltermetaOld
This commit is contained in:
parent
752525c3e9
commit
ff3b7f2cbe
1 changed files with 4 additions and 2 deletions
|
@ -253,11 +253,13 @@ class Altermeta(_ParserScraper):
|
||||||
return pageUrl.rsplit('=', 1)[-1] + '_' + imageUrl.rsplit('/', 1)[-1]
|
return pageUrl.rsplit('=', 1)[-1] + '_' + imageUrl.rsplit('/', 1)[-1]
|
||||||
|
|
||||||
|
|
||||||
class AltermetaOld(Altermeta):
|
class AltermetaOld(_ParserScraper):
|
||||||
url = Altermeta.url + 'oldarchive/index.php'
|
url = Altermeta.url + 'oldarchive/index.php'
|
||||||
stripUrl = Altermeta.url + 'oldarchive/archive.php?comic=%s'
|
stripUrl = Altermeta.url + 'oldarchive/archive.php?comic=%s'
|
||||||
firstStripUrl = stripUrl % '0'
|
firstStripUrl = stripUrl % '0'
|
||||||
prevSearch = compile(r'<a href="([^"]+)">Back')
|
imageSearch = '//img[contains(@src, "comics/")]'
|
||||||
|
prevSearch = '//a[text()="Back"]'
|
||||||
|
help = 'Index format: n (unpadded)'
|
||||||
|
|
||||||
|
|
||||||
class AmazingSuperPowers(_BasicScraper):
|
class AmazingSuperPowers(_BasicScraper):
|
||||||
|
|
Loading…
Reference in a new issue