增加收藏夹的库

This commit is contained in:
xaoyaoo 2024-05-19 15:24:57 +08:00
parent 99a3a862ee
commit 8b328ff565
2 changed files with 2 additions and 2 deletions

View File

@ -383,7 +383,7 @@ def get_core_db(wx_path: str, db_type: list = None) -> [str]:
"""
if not os.path.exists(wx_path):
return False, f"[-] 目录不存在: {wx_path}"
db_type_all = ["MSG", "MediaMSG", "MicroMsg", "OpenIMContact", "OpenIMMedia", "OpenIMMsg"]
db_type_all = ["MSG", "MediaMSG", "MicroMsg", "OpenIMContact", "OpenIMMedia", "OpenIMMsg", "Favorite"]
if not db_type:
db_type = db_type_all

View File

@ -320,7 +320,7 @@ def decrypt_merge(wx_path, key, outpath="", CreateTime: int = 0, endCreateTime:
my_wxid = os.path.basename(wx_path)
# 解密
code, wxdbpaths = get_core_db(wx_path, ["MSG", "MediaMSG", "MicroMsg", "OpenIMContact", "OpenIMMedia", "OpenIMMsg"])
code, wxdbpaths = get_core_db(wx_path, ["MSG", "MediaMSG", "MicroMsg", "OpenIMContact", "OpenIMMedia", "OpenIMMsg", "Favorite"])
# 判断out_path是否为空目录
if os.path.exists(decrypted_path) and os.listdir(decrypted_path):