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

[FEATURE] --no-media flag #94

Closed Eco-Gaming closed 2 months ago

Eco-Gaming commented 2 months ago

Is your feature request related to a problem? Please describe. I would like the option to export my chats without media, as I have many thousands of media files, and I don't really care about them that much.

Describe the solution you'd like Ideally this can be solved by adding a --no-media flag or similar, which skips the code to copy the media folder, and then mark all media as missing.

Additional context My other reason for wanting this is for debugging, as I'm currently working on scripts to further work with the .json files. As I don't want to test with my proper huge database, I have a test db without media which is making some trouble (I'm very certain this is due to the database not being in proper format, and not your program's fault).

Eco-Gaming commented 2 months ago

Sorry I just realized the script works fine without a WhatsApp Media folder, so there is no need for a --no-media flag.