Fix EvilInc (fixes #317)

This commit is contained in:
Tobias Gruetzmacher 2024-05-14 22:57:50 +02:00
parent 6e138a0228
commit 76d5180b49
No known key found for this signature in database

View file

@ -181,9 +181,10 @@ class EvilDiva(WordPressScraper):
endOfLife = True
class EvilInc(_ParserScraper):
class EvilInc(ParserScraper):
url = 'https://www.evil-inc.com/'
imageSearch = '//div[@id="unspliced-comic"]/img/@data-src'
imageSearch = ('//div[@id="unspliced-comic"]/img',
'//div[@id="unspliced-comic"]/picture//img')
prevSearch = '//a[./i[d:class("fa-chevron-left")]]'
firstStripUrl = url + 'comic/monday-3/'