mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-02-12 20:16:19 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc84e430ed | ||
|
|
0b0af518c3 | ||
|
|
7e84595074 | ||
|
|
1bdd5fe6df | ||
|
|
0ac7eecb47 | ||
|
|
b0a469509c | ||
|
|
cec68dd3a0 | ||
|
|
46e12daa6a |
12
README.md
12
README.md
@@ -1,15 +1,13 @@
|
|||||||
# Whatsapp-Chat-Exporter
|
# Whatsapp-Chat-Exporter
|
||||||
A Whatsapp database parser that will give you the history of your Whatsapp conversations in HTML and JSON
|
An Android and iPhone Whatsapp database parser that will give you the history of your Whatsapp conversations in HTML and JSON.
|
||||||
**If you plan to uninstall WhatsApp or delete your WhatsApp account, please make a backup of your WhatsApp database. You may want to use this exporter again on the same database in the future as the exporter develops**
|
**If you plan to uninstall WhatsApp or delete your WhatsApp account, please make a backup of your WhatsApp database. You may want to use this exporter again on the same database in the future as the exporter develops**
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
**If you want to use the old release of the exporter, please follow the [old usage guide](old_README.md#usage)**
|
**If you want to use the old release (< 0.5) of the exporter, please follow the [old usage guide](old_README.md#usage)**
|
||||||
|
|
||||||
First, clone this repo and install the exporter.
|
First, install the exporter by:
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/KnugiHK/Whatsapp-Chat-Exporter.git
|
pip install whatsapp-chat-exporter
|
||||||
cd Whatsapp-Chat-Exporter
|
|
||||||
python setup.py install
|
|
||||||
```
|
```
|
||||||
Then, create a working directory in somewhere you want
|
Then, create a working directory in somewhere you want
|
||||||
```shell
|
```shell
|
||||||
@@ -19,7 +17,7 @@ cd working_wts
|
|||||||
## Working with Android
|
## Working with Android
|
||||||
Extract the WhatsApp database with whatever means, one possible means is to use the [WhatsApp-Key-DB-Extractor](https://github.com/KnugiHK/WhatsApp-Key-DB-Extractor)
|
Extract the WhatsApp database with whatever means, one possible means is to use the [WhatsApp-Key-DB-Extractor](https://github.com/KnugiHK/WhatsApp-Key-DB-Extractor)
|
||||||
|
|
||||||
After you obtain your WhatsApp databse, copy the WatsApp database and media folder to the working directory. The database is called msgstore.db. If you also want the name of your contacts, get the contact database, which is called wa.db. And copy the WhatsApp (Media) directory from your phone directly.
|
After you obtain your WhatsApp databse, copy the WhatsApp database and media folder to the working directory. The database is called msgstore.db. If you also want the name of your contacts, get the contact database, which is called wa.db. And copy the WhatsApp (Media) directory from your phone directly.
|
||||||
|
|
||||||
And now, you should have something like this in the working directory.
|
And now, you should have something like this in the working directory.
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.5"
|
__version__ = "0.6"
|
||||||
@@ -72,7 +72,7 @@ def extract_media(base_dir):
|
|||||||
if is_encrypted(base_dir):
|
if is_encrypted(base_dir):
|
||||||
if not support_encrypted:
|
if not support_encrypted:
|
||||||
print("You don't have the dependencies to handle encrypted backup.")
|
print("You don't have the dependencies to handle encrypted backup.")
|
||||||
print("Read more about how to deal with encrypted backup:")
|
print("Read more on how to deal with encrypted backup:")
|
||||||
print("https://github.com/KnugiHK/Whatsapp-Chat-Exporter/blob/main/README.md#usage")
|
print("https://github.com/KnugiHK/Whatsapp-Chat-Exporter/blob/main/README.md#usage")
|
||||||
return False
|
return False
|
||||||
password = getpass.getpass("Enter the password:")
|
password = getpass.getpass("Enter the password:")
|
||||||
|
|||||||
6
setup.py
6
setup.py
@@ -24,12 +24,12 @@ setuptools.setup(
|
|||||||
"Programming Language :: Python :: 3 :: Only",
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
"Programming Language :: Python :: 3.7",
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.9",
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
"Operating System :: OS Independent",
|
"Operating System :: OS Independent",
|
||||||
"Development Status :: Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
"Intended Audience :: End Users/Desktop"
|
"Intended Audience :: End Users/Desktop",
|
||||||
"Topic :: Communications :: Chat",
|
"Topic :: Communications :: Chat",
|
||||||
"Topic :: Utilities",
|
"Topic :: Utilities",
|
||||||
"Topic :: Database"
|
"Topic :: Database"
|
||||||
|
|||||||
Reference in New Issue
Block a user