From 5f5a5a4a56ac7551ac205e6f8cd3aa75beeae793 Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Wed, 14 Sep 2022 15:38:33 +0800 Subject: [PATCH] Fix getchu #2 --- scrapinglib/getchu.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scrapinglib/getchu.py b/scrapinglib/getchu.py index d70e4aa..e26d557 100644 --- a/scrapinglib/getchu.py +++ b/scrapinglib/getchu.py @@ -79,7 +79,10 @@ class wwwGetchu(Parser): return outline def getCover(self, htmltree): - return "http://www.getchu.com" + super().getCover(htmltree) + url = super().getCover(htmltree) + if "getchu.com" in url: + return url + return "http://www.getchu.com" + url def getExtrafanart(self, htmltree): arts = super().getExtrafanart(htmltree)