Skip to content

Commit

Permalink
转账显示具体金额
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoyaoo committed Mar 12, 2024
1 parent 8895761 commit 6296257
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pywxdump/analyzer/export_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6296257

Please sign in to comment.