From c870b04dd98a282a64f28792a5aa6d25be8e4d9d Mon Sep 17 00:00:00 2001 From: xaoyaoo Date: Mon, 7 Oct 2024 23:31:27 +0800 Subject: [PATCH] fix #143 --- pywxdump/__init__.py | 2 +- pywxdump/api/export/exportCSV.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pywxdump/__init__.py b/pywxdump/__init__.py index 4c1063e8..9bd52e31 100644 --- a/pywxdump/__init__.py +++ b/pywxdump/__init__.py @@ -5,7 +5,7 @@ # Author: xaoyaoo # Date: 2023/10/14 # ------------------------------------------------------------------------------- -__version__ = "3.1.35" +__version__ = "3.1.36" import os, json diff --git a/pywxdump/api/export/exportCSV.py b/pywxdump/api/export/exportCSV.py index 2b146904..c56b599a 100644 --- a/pywxdump/api/export/exportCSV.py +++ b/pywxdump/api/export/exportCSV.py @@ -30,7 +30,8 @@ def export_csv(wxid, outpath, db_config, my_wxid="我", page_size=5000): users = {} for i in range(0, chatCount, page_size): start_index = i - data, users_t = db.get_msg_list(wxid, start_index, page_size) + data, users_t = db.get_msgs(wxid, start_index, page_size) + print(users, users_t) users.update(users_t) if len(data) == 0: