From 8fa8c6923836589cc1d23c671764aaaaa4b749c7 Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 16 Oct 2019 15:37:52 +0800 Subject: [PATCH] =?UTF-8?q?tap=20order=20=20=E6=95=B0=E6=8D=AE=E5=86=99?= =?UTF-8?q?=E5=85=A5mysql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- taptap/taptap_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taptap/taptap_report.py b/taptap/taptap_report.py index 5e21b06..5e9e8ae 100644 --- a/taptap/taptap_report.py +++ b/taptap/taptap_report.py @@ -76,7 +76,7 @@ class TapTapReport: for line in data: try: gameid, catename, title, cate, topic, score, reserve, watch, download, sell, review = line - key = f"{str(gameid)}#{catename}" + key = f"{str(int(gameid))}#{catename}" all_data.setdefault(key, {})["key"] = key all_data.setdefault(key, {})["catename"] = catename all_data.setdefault(key, {})["title"] = title