mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-01-29 05:40:42 +00:00
Update README.md
This commit is contained in:
39
README.md
39
README.md
@@ -1,2 +1,41 @@
|
||||
# Message-From-Whatsapp-DB
|
||||
A Whatsapp database parser that will give you the history of your Whatsapp conversation in HTML and JSON
|
||||
|
||||
# Usage
|
||||
First, clone this repo, and copy all py and html files to a working directory if you want to do so.
|
||||
```shell
|
||||
git clone https://github.com/KnugiHK/Message-From-Whatsapp-DB.git
|
||||
```
|
||||
Then, ready your WhatsApp database, place them inthe root of working directory.
|
||||
* For Android, it is called msgstore.db. If you want name of your contacts, get the contact database, which is called wa.db.
|
||||
* For iPhone, it is called 7c7fba66680ef796b916b067077cc246adacf01d (YES, a hash).
|
||||
|
||||
Next, ready your media folder, place it in the root of working directory.
|
||||
* For Android, copy the WhatsApp directory from your phone directly.
|
||||
* For iPhone, run the extract_iphone_media.py, and you will get a folder called Message. Please note that, this script does not support encrypted backup.
|
||||
```
|
||||
python extract_iphone_media.py C:\Users\[Username]\AppData\Apple Computer\AppData\Roaming\Apple Computer\MobileSync\Backup
|
||||
```
|
||||
And now, you should have something like this:
|
||||

|
||||
|
||||
Last, run the script regarding the type of phone.
|
||||
```
|
||||
python extract.py & :: Android
|
||||
python extract_iphone.py & :: iPhone
|
||||
```
|
||||
And you will get these:
|
||||
#### Private Message
|
||||

|
||||
|
||||
#### Group Message
|
||||

|
||||
|
||||
# To do
|
||||
1. Convert ```\r\n``` to ```<br>```
|
||||
2. Reply in iPhone
|
||||
|
||||
# Copyright
|
||||
This is a MIT licensed project.
|
||||
|
||||
The Telegram Desktop's export is the reference for whatsapp.html in this repo
|
||||
|
||||
Reference in New Issue
Block a user