From d59d419d18bf5d7ff7fff0f72a688651d3481ba4 Mon Sep 17 00:00:00 2001 From: Womsxd <45663319+Womsxd@users.noreply.github.com> Date: Tue, 23 Aug 2022 23:43:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=96=E6=B6=88=E7=AD=BE?= =?UTF-8?q?=E5=88=B0=E7=9A=84=E5=AD=97=E6=AE=B5=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mihoyobbs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mihoyobbs.py b/mihoyobbs.py index 75f42db..ba7797e 100644 --- a/mihoyobbs.py +++ b/mihoyobbs.py @@ -163,7 +163,7 @@ class Mihoyobbs: if data["message"] == "OK": log.debug("点赞:{} 成功".format(self.postsList[i][1])) # 判断取消点赞是否打开 - if config.config["mihoyobbs"]["un_like"]: + if config.config["mihoyobbs"]["cancel_like_posts"]: time.sleep(random.randint(2, 8)) req = http.post(url=setting.bbs_Like_url, headers=self.headers, json={"post_id": self.postsList[i][0], "is_cancel": True})