As the title says, when using ascii2d to search for an image, the request would always failed with error code 403.
Steps to reproduce
install image-search plugin
enter ascii2d command with an image
bot says '访问失败'
Expected behavior
Be able to search images via ascii2d
Screenshots
No response
Versions
OS: any
Platform: any
Node version: 16
Koishi version: 4.5.1
Additional context
So it turns out that ascii2d has enabled Cloudflare DDNS protection somehow, when you trying to send a request by axios, it would not pass the CAPTCHA.
Describe the bug
As the title says, when using
ascii2d
to search for an image, the request would always failed with error code 403.Steps to reproduce
Expected behavior
Be able to search images via ascii2d
Screenshots
No response
Versions
Additional context
So it turns out that ascii2d has enabled Cloudflare DDNS protection somehow, when you trying to send a request by axios, it would not pass the CAPTCHA.