From 66671cd4cf49ac494491795a883ac8644c0ed7ed Mon Sep 17 00:00:00 2001 From: scyxdd Date: Mon, 15 Jan 2024 16:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96WebTitle?= =?UTF-8?q?=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plugins/webtitle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/webtitle.go b/Plugins/webtitle.go index 897ed19..f728419 100644 --- a/Plugins/webtitle.go +++ b/Plugins/webtitle.go @@ -197,7 +197,7 @@ func getRespBody(oResp *http.Response) ([]byte, error) { } func gettitle(body []byte) (title string) { - re := regexp.MustCompile("(?ims)(.*?)") + re := regexp.MustCompile("(?ims)(.*?)") find := re.FindSubmatch(body) if len(find) > 1 { title = string(find[1])