Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.

humiaozuzu/wechat-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wechat Explorer

微信聊天记录导出、分析工具 For iOS

Guide

Install via pip

pip install wechat-explorer

Export wechat data from your iOS backup

You may use the free iPhone Backup Extractor or iExplorer. Export the folder named com.tencent.xin. There is an folder named Documents in your exports.

How to use

wexp list_chatrooms ../Documents user_id
wexp list_friends ../Documents user_id
wexp get_chatroom_stats ../Documents user_id chatroom_id@chatroom 2015-08-01 2015-09-01
wexp export_chatroom_records ../Documents user_id chatroom_id@chatroom 2015-10-01 2015-10-07 ../
wexp get_friend_label_stats ../Documents user_id

HTML chatroom records to PDF

wkhtmltopdf --dpi 300 records.html records.pdf

Demo

原理

由于 iOS 本身的限制,是拿不到任何数据的。我们只能从 iTunes 的备份中,导出微信 App 的数据,然后通过分析数据,实现一系列的功能(比如导出聊天记录,数据计算等等)。

TODO

  • support non-text record type
  • add avatars group members

About

微信聊天记录导出、分析工具

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published