From 6611b1e430bb8cc45866b11bfc145ea253fa4a05 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Thu, 3 Sep 2020 22:24:55 -0700 Subject: [PATCH] Fix WebToons completion detection --- dosagelib/plugins/webtoons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dosagelib/plugins/webtoons.py b/dosagelib/plugins/webtoons.py index 65a5a946a..c36660d0d 100644 --- a/dosagelib/plugins/webtoons.py +++ b/dosagelib/plugins/webtoons.py @@ -25,7 +25,7 @@ class WebToons(_ParserScraper): listPage = self.getPage(self.listUrl) currentEpisode = listPage.xpath('//div[@class="detail_lst"]/ul/li')[0].attrib['data-episode-no'] # Check for completed tag - self.endOfLife = (listPage.xpath('//span[@class="txt_ico_completed2"]') != []) + self.endOfLife = (listPage.xpath('//div[@id="_asideDetail"]//span[@class="txt_ico_completed2"]') != []) return self.stripUrl % currentEpisode def fetchUrls(self, url, data, urlSearch):