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