Closed mruepp closed 2 months ago
Hi. Can you show me the corresponding message in WhatsApp?
Should be this. But the time is off (10:20 in html vs 11:43 in chat) it is a Video I can not start...
Also, btw, is there a way to implement lazy loading? I have chats back to 2014, they are 100-200MB large HTMLs which are nearly unable to load...
Also, btw, is there a way to implement lazy loading? I have chats back to 2014, they are 100-200MB large HTMLs which are nearly unable to load...
There is no lazy loading but you can use --size 0
to split the chat into multiple files.
Thank you, is there documentation of --size? --size 0 is kind of counterintuitive. What does it mean?
Thank you, is there documentation of --size? --size 0 is kind of counterintuitive. What does it mean?
> wtsexporter --help
...
--size [SIZE], --output-size [SIZE], --split [SIZE]
Maximum (rough) size of a single output file in bytes, 0 for auto
Any suggestions are welcome!
I'm not a web developer but I did some quick research and maybe all we need to get the lazy loading is add a tag to the images as documented here: https://www.w3schools.com/tags/att_img_loading.asp Only Safari doesn't handle this tag.
<img src="Media/Profile\33610007857-1665000879.thumb" loading="lazy" class="avatar">
Also while commenting on things that I don't really know, maybe you could consider using the base tag in your HTML? Maybe you have a reason not to use it or maybe it's just me but my links are pretty long like this:
<a href="AppDomainGroup-group.net.whatsapp.WhatsApp.shared/Media/Profile\6590002603-1700006881.thumb"><img src="AppDomainGroup-group.net.whatsapp.WhatsApp.shared/Media/Profile\6590002603-1700006881.thumb" onerror="this.style.display='none'" class="avatar"></a>
with the base tag like this:
<base href="AppDomainGroup-group.net.whatsapp.WhatsApp.shared/">
you should be able to shorten the URLs to this:
<img src="Media/Profile\33610007857-1665000879.thumb">
Should be this. But the time is off (10:20 in html vs 11:43 in chat) it is a Video I can not start...
Since you confirmed the video cannot be played, the file in your iPhone probably got corrupted. In this case, I believe it is an isolated case and not the fault of the exporter. Could you find more instances on real media but unspported?
If further evidence indicates that the issue is caused by the exporter, please feel free to reopen this issue.
Describe the bug I did an Iphone Backup (unencrypted) and was able to extract the Chats. The Photos/Videos show up inline, but some messages does not show with error message: Not supported WhatsApp internal message See screenshot 1 and see corresponding html code screenshot 2
To Reproduce
Steps to reproduce the behavior: Export the chats as in the README
Thanks for providing such a valuable tool.