From 09e5e1a7565fdb4cb8091d2582447ece57316189 Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Sat, 13 Jul 2024 13:59:47 +0800 Subject: [PATCH] Update readme for enriching contacts --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a5c6b10..2fd2b2f 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,13 @@ Simply invoke the following command from shell. ```sh wtsexporter -a ``` +#### Enriching Contact from vCard +Usually, the default WhatsApp contact database extracted from your phone will contains the contact names and the exporter will use it to map your chats. However, some reported cases showed that the database could has never been populated. +In this case, you can export your contacts to a vCard file from your phone or a cloud provider like Google Contacts. Then, install the necessary dependency and run the following command from the shell: +```sh +pip install whatsapp-chat-exporter["vcards"] +wtsexporter -a --enrich-from-vcard contacts.vcf --default-country-code 852 +``` ### Encrypted Android WhatsApp Backup In order to support the decryption, install pycryptodome if it is not installed