From 5a34f22afed69616a14240c527677ab7389eee7e Mon Sep 17 00:00:00 2001 From: TitaniumLithium <48680707+TitaniumLithium@users.noreply.github.com> Date: Fri, 26 Aug 2022 06:31:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dgog=E8=8B=B1=E6=96=87?= =?UTF-8?q?=E7=AE=80=E4=BB=8B=E5=8D=95=E8=AF=8D=E9=97=B4=E7=A9=BA=E6=A0=BC?= =?UTF-8?q?=E8=A2=AB=E5=88=A0=E9=99=A4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复gog英文简介单词间空格被删除问题 --- infogen/gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infogen/gen.py b/infogen/gen.py index 0112c9d..7d636b8 100644 --- a/infogen/gen.py +++ b/infogen/gen.py @@ -713,7 +713,7 @@ def _gen_gog(self): gog_descr = gog_bs.find("div", class_ = "description") gog_game_data["descr"] = ( html2ubb(str(gog_descr)).strip() - .replace(" ", "") + .replace(" ", "") .replace("\n\n\n\n\n", "") .replace("\n\n", "") .replace("]\n", "]")