Skip to content

Commit 19a7249

Browse files
committed
fix(ascii2d): 把 ascii2d.net 加入要处理的红链网址列表中
1 parent 3cc644e commit 19a7249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

YetAnotherPicSearch/ascii2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ async def get_final_res(res: Ascii2DResponse, bovw: bool = False) -> List[str]:
6060

6161
search_type = "特徴" if bovw else "色合"
6262
result_type = f"Ascii2D {search_type}検索結果"
63-
result_header = f"{result_type}\n搜索页面:{res.url}"
63+
result_header = f"{result_type}\n搜索页面:{await shorten_url(res.url)}"
6464
return [result_header] + final_res_list

0 commit comments

Comments
 (0)