From 1a1a006283f171d160a1b429d1257992272cdaf1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 Dec 2021 08:06:16 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E6=94=B9=E8=BF=9B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_novel/qianbi.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugin_novel/qianbi.go b/plugin_novel/qianbi.go index 436c4dd3..b37c3b95 100644 --- a/plugin_novel/qianbi.go +++ b/plugin_novel/qianbi.go @@ -10,14 +10,15 @@ import ( "strings" "time" - "github.com/FloatTech/ZeroBot-Plugin/control" - "github.com/FloatTech/ZeroBot-Plugin/utils/encode" "github.com/antchfx/htmlquery" log "github.com/sirupsen/logrus" zero "github.com/wdvxdr1123/ZeroBot" "github.com/wdvxdr1123/ZeroBot/extension/rate" "github.com/wdvxdr1123/ZeroBot/message" "github.com/wdvxdr1123/ZeroBot/utils/helper" + + "github.com/FloatTech/ZeroBot-Plugin/control" + "github.com/FloatTech/ZeroBot-Plugin/utils/encode" ) const ( @@ -121,7 +122,6 @@ func init() { text := fmt.Sprintf("书名:%s\n类型:%s\n作者:%s\n状态:%s\n简介:%s\n更新时间:%s\n最新章节:%s\n网页链接:%s\n下载地址:%s\n", bookName, category, author, status, description, updateTime, latestChapter, webpageURL, downloadURL) ctx.SendChain(message.Text(text)) } - }) } @@ -153,7 +153,6 @@ func login(username, password string) { } defer loginResp.Body.Close() gCurCookies = gCurCookieJar.Cookies(loginReq.URL) - } func search(searchKey string) (searchHtml string) {