Merge pull request #72 from Lugoues/fix-smbc

Fixes #63.
This commit is contained in:
Tobias Gruetzmacher 2016-10-19 09:06:35 +02:00 committed by GitHub
commit 30548a51a0

View file

@ -303,10 +303,10 @@ class SMBC(_ParserScraper):
stripUrl = url + 'index.php?id=%s' stripUrl = url + 'index.php?id=%s'
firstStripUrl = stripUrl % '1' firstStripUrl = stripUrl % '1'
multipleImagesPerStrip = True multipleImagesPerStrip = True
imageSearch = ['//img[@id="comic"]', '//div[@id="aftercomic"]/img'] imageSearch = ['//img[@id="cc-comic"]', '//div[@id="aftercomic"]/img']
prevSearch = '//a[@class="prev"]' prevSearch = '//a[@class="prev"]'
help = 'Index format: nnnn' help = 'Index format: nnnn'
textSearch = '//img[@id="comic"]/@title' textSearch = '//img[@id="cc-comic"]/@title'
def namer(self, image_url, page_url): def namer(self, image_url, page_url):
"""Remove random noise from name.""" """Remove random noise from name."""