Skip to content

Commit d1da372

Browse files
committed
fix(config): 把 ascii2d.net 加入要处理的红链网址列表中
1 parent feefa6c commit d1da372

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

YetAnotherPicSearch/config.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ class Config(BaseConfig):
3232
# exhentai cookies,选填,没有的情况下自动改用 e-hentai 搜图
3333
exhentai_cookies: str = ""
3434
# 要处理的红链网址列表
35-
to_confuse_urls: List[str] = ["danbooru.donmai.us", "konachan.com", "pixiv.net"]
35+
to_confuse_urls: List[str] = [
36+
"ascii2d.net",
37+
"danbooru.donmai.us",
38+
"konachan.com",
39+
"pixiv.net",
40+
]
3641

3742
class Config:
3843
extra = "allow"

0 commit comments

Comments
 (0)