From 76d5180b4951258d7836788b31da2b69adf4fd67 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Tue, 14 May 2024 22:57:50 +0200 Subject: [PATCH] Fix EvilInc (fixes #317) --- dosagelib/plugins/e.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dosagelib/plugins/e.py b/dosagelib/plugins/e.py index 857776ec0..1de61de7c 100644 --- a/dosagelib/plugins/e.py +++ b/dosagelib/plugins/e.py @@ -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/'