wechat-explorer

by humiaozuzu

humiaozuzu /wechat-explorer

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

444 Stars 102 Forks Last release: Not found 10 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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 [email protected] 2015-08-01 2015-09-01
wexp export_chatroom_records ../Documents user_id [email protected] 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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.