I don't want to make this a political or sociological discussion about Facebook or WhatsApp.
For personal reasons I have decided to stop using WhatsApp.
When I closed my Facebook and Instagram accounts I was able to download all my data, including messages and media.
I was unable to do the same with my WhatsApp data, at least not unless I export each chat individually.
Does anyone know of a way to get such data in a cohesive way for my personal archive?
The images can be tricky - some form of reference to the image in your phone, hard to put together; otherwise the messages in all the chats are in the database, navigable by a SQLite client.
Speaking from personal experience porting messages from iPhone to Android.
Careful not to assume that works. Last time I did that some years ago, the export was missing like a year's worth of messages.
When it's ready, open up the web inspector and copy the whole HTML. It can be huge. After you paste it, make sure the beginning and end are there. It might be larger than the clipboard buffer. If it was incomplete when copying from one browser, try another.
If on X11, I think primary selection can be unlimited in theory, but the browser might not support it in the web inspector. If you want to try that, you'd have to use the console to print the html to it or to the page (more messy, but more likely to work). Then highlight and paste with middleclick somewhere.
Of course, if the web inspector has some type of "save DOM to file" feature, then that would be far simpler.
Deleted Comment