Update LeastICouldDo (fixes #257) (#259)

Fixed imageSearch

---------

Co-authored-by: Tobias Gruetzmacher <tobias-git@23.gs>
This commit is contained in:
MrHappy 2023-04-10 21:30:35 +02:00 committed by GitHub
parent 4c0d6f51a9
commit fb9c5f4246
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ class LeastICouldDo(ParserScraper):
url = 'https://leasticoulddo.com/' url = 'https://leasticoulddo.com/'
stripUrl = url + 'comic/%s' stripUrl = url + 'comic/%s'
firstStripUrl = stripUrl % '20030210' firstStripUrl = stripUrl % '20030210'
imageSearch = '//img[d:class("comic")]/@data-src' imageSearch = '//img[d:class("comic")]'
prevSearch = '//a[@rel="prev"]' prevSearch = '//a[@rel="prev"]'
latestSearch = '//a[@id="latest-comic"]' latestSearch = '//a[@id="latest-comic"]'
starter = indirectStarter starter = indirectStarter