This commit is contained in:
xaoyaoo 2024-10-07 23:31:27 +08:00
parent 82bf28e591
commit c870b04dd9
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@
# Author: xaoyaoo
# Date: 2023/10/14
# -------------------------------------------------------------------------------
__version__ = "3.1.35"
__version__ = "3.1.36"
import os, json

View File

@ -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: