Fix SequentialArt (closes #167)

This commit is contained in:
Tobias Gruetzmacher 2020-07-31 19:28:25 +02:00
parent 98d5d9eb26
commit bd44fdbb79

View file

@ -155,13 +155,12 @@ class SeelPeel(_WPNaviIn):
multipleImagesPerStrip = True
class SequentialArt(_BasicScraper):
url = 'http://www.collectedcurios.com/sequentialart.php'
class SequentialArt(_ParserScraper):
url = 'https://www.collectedcurios.com/sequentialart.php'
stripUrl = url + '?s=%s'
firstStripUrl = stripUrl % '1'
imageSearch = compile(tagre("img", "src", r'([^"]+)', before="strip"))
prevSearch = compile(tagre("a", "href", r'(/sequentialart\.php\?s=\d+)') +
tagre("img", "src", r'Nav_BackOne\.gif'))
imageSearch = '//img[{}]'.format(xpath_class('w3-image'))
prevSearch = '//a[@id="backOne"]'
help = 'Index format: name'