From 629625787b36e6e41aba5860521af044cdfa2db4 Mon Sep 17 00:00:00 2001 From: xaoyaoo Date: Tue, 12 Mar 2024 18:45:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E8=B4=A6=E6=98=BE=E7=A4=BA=E5=85=B7?= =?UTF-8?q?=E4=BD=93=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pywxdump/analyzer/export_chat.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pywxdump/analyzer/export_chat.py b/pywxdump/analyzer/export_chat.py index c238f0a2..229807c3 100644 --- a/pywxdump/analyzer/export_chat.py +++ b/pywxdump/analyzer/export_chat.py @@ -234,6 +234,12 @@ def get_msg_list(MSG_db_path, selected_talker="", start_index=0, page_size=500): file_name = os.path.basename(url) content["msg"] = file_name + elif type_id == (19, 2000): # 转账消息 + CompressContent = decompress_CompressContent(CompressContent) + content_tmp = parse_xml_string(CompressContent) + feedesc = content_tmp.get("appmsg", {}).get("wcpayinfo", {}).get("feedesc", "") + content["msg"] = f"转账:{feedesc}" + content["src"] = "" elif type_id[0] == 49 and type_id[1] != 0: BytesExtra = read_BytesExtra(BytesExtra)