Skip to content

kxdc/group-chats-capture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Group Chats Capture

A little implementation of capturing WeChat messages, focusing on group chats. Powered by ItChat.

Environment

Requires python3.8.

Messages Generation Steps

Install dependency

pip install itchat

Start generating messages

python start_generation.py # Hit `Ctrl + C` to stop it

Data Description

All of messages from one single group chat will be stored in some txt files, which has the same name of them. And all of files located in a path named by the date format %b-%d-%Y(e.g. Apr-23-2021).

Get Results

Results will be several lists, every list contains key-value informations of user name as key, and the number of messages sent as value. The time scope is defined as a 24 hours duration start from yesterday's "stop time" to today's

Start getting results

python get_results.py

About

A little implementation of capturing WeChat messages, focusing on group chats.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages