KnugiHK / WhatsApp-Chat-Exporter

A customizable Android and iOS/iPadOS WhatsApp database parser that will give you the history of your WhatsApp conversations in HTML and JSON. Android Backup Crypt12, Crypt14, Crypt15, and new schema supported.
https://wts.knugi.dev/
MIT License
518 stars 76 forks source link

Wrong media directory name? #49

Closed kintaro1981 closed 1 year ago

kintaro1981 commented 1 year ago

I'm using the "dev version".

with: wtsexporter -i -b /Users/<USERNAME>/Library/Application\ Support/MobileSync/Backup/<ID>/

it creates these directories:

But the HTML file inside results directory refer to Whatsapp directory and not Message directory so no media content (audio/photo/video) are displayed. Renaming Whatsapp in Message solve the problem.

Example: <img src="WhatsApp/Avatars/39334826789-1451324297@g.us.j" onerror="this.style.display='none'">

Is this a bug or I done something wrong?

KnugiHK commented 1 year ago

It is a bug introduced in #25.

KnugiHK commented 1 year ago

Should be fixed with ed658d7. You can pull the change and try again to see if it is fixed.

kintaro1981 commented 1 year ago

You can pull the change and try again to see if it is fixed.

Yes I confirm is fixed now.

I updated my dev install with: pip uninstall Whatsapp-Chat-Exporter pip install git+https://github.com/KnugiHK/Whatsapp-Chat-Exporter.git@dev is there another more direct way?

KnugiHK commented 1 year ago

Does -U --force-reinstall helps? pip install -U --force-reinstall git+https://github.com/KnugiHK/Whatsapp-Chat-Exporter.git@dev.

KnugiHK commented 1 year ago

Released in 0.9.5.