Skip to content

Commit ce450af

Browse files
committed
fix(saucenao): 部分情况下,例如搜索结果为 pixiv 时,来源信息重复给出
1 parent ff283ba commit ce450af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

YetAnotherPicSearch/saucenao.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async def saucenao_search(
8181
thumbnail,
8282
selected_res.title,
8383
f"作者:{author}" if author else "",
84-
_url,
84+
_url if _url != source else "",
8585
f"来源:{source}" if source else "",
8686
f"搜索页面:{res.url}",
8787
]

0 commit comments

Comments
 (0)