Comments (2)
依赖于sqlite的缓存技术,目前需要重新登录微信或者过段时间(没有具体测试)会自动写入数据库。
1、重新登录微信
2、等待一段时间,等待微信写入数据库
3、短时间内接收消息内容过多,自动写入数据库
正在研究sqlite的缓存方式,后续会增加实时写入数据库。
from pywxdump.
@xaoyaoo
你的方法获取的很费劲,又不能直接提供方法给你
给你一点提示吧
- 不要进行版本判断,直接内存接口 (不用那么费劲的每次都更新版本,目前我测试的三年都不用更新,除了微信变成64位)
- sqlite3会执行exec (实时接口)
- 企业微信和微信一样
- 内部结构是protobuf的(非标准),可以按索引解析
你按照以上的方式就可以完整的解析和实时解析了,通过了长期的测试(数年),并且数据非常完整(文件另说,需要特殊处理)。
然后以上的方式推广到其他聊天记录也是一样的,也经过了长期的测试
也许我可以提供一个不开源的内存模块来反转提供接口,这样不会涉及到侵权,挺想支持开源的,可惜有很多竞品盯着。
from pywxdump.
Related Issues (20)
- 关于代码的建议 HOT 12
- 对BytesExtra实际结构的猜想 HOT 2
- 关于遍历找key (`def get_key(pid, db_path, addr_len):`) HOT 5
- 希望能够支持 pc微信 3.9.9.34这个版本,感谢~ HOT 1
- 现在能获取手机号吗 HOT 1
- 【建议】完善增强方案 HOT 1
- question HOT 1
- 解密的聊天记录能否再导入回微信中 HOT 1
- 企微号人名显示不出来 HOT 5
- 修改密码或移除登录设备能不能实现重置 key 或访问不到最新消息 HOT 1
- 有获取实时聊天记录的计划吗? HOT 2
- 我想咨询下这个合并数据的工具有源码吗 HOT 3
- 怎么获取用户的性别 HOT 1
- 无法登录问题 HOT 2
- 合并实时数据库的函数在路径名中有中文时会报错
- 未知错误报错
- 如果微信中文名太长的话 获取微信信息会乱码
- read_info 获取到的账号信息的昵称乱码 HOT 1
- 如何关闭自动打开浏览器以及允许局域网其他电脑访问web页面 HOT 1
- 打包后的 realTime.exe 没权限执行 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pywxdump.