修正airav概率性无法获取封面的问题

当javbus无法获取封面时,取airav的img_url作为封面
This commit is contained in:
biaji
2023-09-15 19:42:03 +08:00
committed by GitHub
parent bea12db8bb
commit 333ac49f95

View File

@@ -142,6 +142,9 @@ class Airav(Parser):
result = self.javbus.get('cover') result = self.javbus.get('cover')
if isinstance(result, str) and len(result): if isinstance(result, str) and len(result):
return result return result
result = htmltree['img_url']
if isinstance(result, str) and len(result):
return result
return super().getCover(htmltree) return super().getCover(htmltree)
def getSeries(self, htmltree): def getSeries(self, htmltree):