Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法获取聊天图片 #126

Closed
akashiwest opened this issue Dec 13, 2023 · 5 comments
Closed

无法获取聊天图片 #126

akashiwest opened this issue Dec 13, 2023 · 5 comments

Comments

@akashiwest
Copy link

akashiwest commented Dec 13, 2023

bug描述
微信软件中聊天有图片,但是WeChatMsg软件无法获取聊天中的图片,导出html也不行(ps.我的微信新安装了不久)

我看了下微信安装目录,发现 C:\Users\Admin\Documents\WeChat Files\wxid_mycode\FileStorage\Image 目录大小为0Kb,内部只有空文件夹 Thumb;
但是在 C:\Users\Admin\Documents\WeChat Files\wxid_mycode\FileStorage\MsgAttach 里面有很多以md5字符命名的文件夹,我猜测是以每个聊天记录分类的。点进去 \md5Code\Image\2023-12 发现存在 .dat 后缀的图片,我用python写了个脚本解密出来发现就是聊天图片。不知道是不是新版本的微信改位置了?还是说我微信的问题?希望大佬看一下

报错截图
屏幕截图 2023-12-13 121803
屏幕截图 2023-12-13 121511
屏幕截图 2023-12-13 121356
屏幕截图 2023-12-13 121324

运行环境:

  • OS: Windows11 22H2
  • Python版本: 3.10.7
  • 软件版本: MemoTrace-0.2.7
  • 微信版本: 3.9.8.15
@LC044
Copy link
Owner

LC044 commented Dec 13, 2023

0.2.8将修复该问题,可以等待发布最新版,也可自行构建环境运行代码

@akashiwest
Copy link
Author

好的谢谢。另外再麻烦问下导出html的时候聊天内的图片是即时从wxid文件夹中拷贝出来的吗?我想的是直接备份一下生成的app文件夹,然后如果我要重装系统后面再想看聊天记录的时候图片会被保留吗?

@LC044
Copy link
Owner

LC044 commented Dec 13, 2023

导出的数据后期不依赖于任何其他东西,备份之后可随时查看,图片视频语音都是单独复制出来的,把某个联系人的文件夹单独保存即可

@LC044
Copy link
Owner

LC044 commented Dec 13, 2023

已解决

@LC044 LC044 closed this as completed Dec 13, 2023
@akashiwest
Copy link
Author

感谢作者的开源精神!爱来自设计系学生❤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants