From aca51b3a8e77e5d7b1ffe7f0a886c43da3704170 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Mon, 6 Jun 2022 13:34:27 +0200 Subject: [PATCH] Fix LoadingArtist --- dosagelib/plugins/l.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dosagelib/plugins/l.py b/dosagelib/plugins/l.py index 5cca8f8fc..23ca17ea9 100644 --- a/dosagelib/plugins/l.py +++ b/dosagelib/plugins/l.py @@ -183,9 +183,12 @@ class LittleTales(_ParserScraper): class LoadingArtist(_ParserScraper): - url = 'http://www.loadingartist.com/latest' - imageSearch = '//div[@class="comic"]//img' - prevSearch = "//a[contains(concat(' ', @class, ' '), ' prev ')]" + url = 'https://loadingartist.com/' + firstStripUrl = url + 'comic/born/' + imageSearch = '//div[d:class("main-image-container")]//img' + prevSearch = '//div[d:class("left-nav")]//a' + latestSearch = '//nav//a[text()="Comic"]' + starter = indirectStarter class LoFiJinks(WordPressNaviIn):