Fix getchu #2

This commit is contained in:
yoshiko2
2022-09-14 15:38:33 +08:00
parent 1be712767f
commit 5f5a5a4a56

View File

@@ -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)