From 9f3dd37bf035a39aa8669a9be62af3ce0ad6815c Mon Sep 17 00:00:00 2001 From: fumiama Date: Tue, 1 Mar 2022 23:02:22 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E5=85=B3=E9=94=AE=E5=AD=97?= =?UTF-8?q?=E6=90=9C=E5=9B=BE=E6=94=B9=E7=94=A8=E4=BA=91=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E5=8F=8D=E4=BB=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/image_finder/keyword.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/image_finder/keyword.go b/plugin/image_finder/keyword.go index 0eb24ab0..5631902d 100644 --- a/plugin/image_finder/keyword.go +++ b/plugin/image_finder/keyword.go @@ -69,8 +69,7 @@ func init() { // soutuapi 请求api func soutuapi(keyword string) (r resultjson, err error) { - url := "https://api.pixivel.moe/v2/pixiv/illust/search/" + keyword + "?page=0" - data, err := web.GetDataWith(web.NewTLS12Client(), url, "GET", "https://pixivel.moe/", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36") + data, err := web.GetData("https://copymanga.azurewebsites.net/api/pixivel?" + keyword + "?page=0") if err != nil { return }