Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Not supported WhatsApp internal message #90

Open
mruepp opened this issue Mar 8, 2024 · 9 comments
Open

[BUG] Not supported WhatsApp internal message #90

mruepp opened this issue Mar 8, 2024 · 9 comments

Comments

@mruepp
Copy link

mruepp commented Mar 8, 2024

  • WhatsApp version: 2.24.5.73 - iOS
  • Platform: MacOS
  • Branch and version: main

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

Screenshot 2024-03-08 at 17 29 17

Screenshot 2024-03-08 at 18 00 46

To Reproduce

Steps to reproduce the behavior:
Export the chats as in the README

Thanks for providing such a valuable tool.

@mruepp mruepp changed the title [BUG] Videos not exported inline chat - Not supported WhatsApp internal message [BUG] Emoji and special chars not exported inline chat - Not supported WhatsApp internal message Mar 8, 2024
@mruepp mruepp changed the title [BUG] Emoji and special chars not exported inline chat - Not supported WhatsApp internal message [BUG] Emoji and special chars not exported inline chat - "Not supported WhatsApp internal message" Mar 8, 2024
@mruepp mruepp changed the title [BUG] Emoji and special chars not exported inline chat - "Not supported WhatsApp internal message" [BUG] Not supported WhatsApp internal message Mar 8, 2024
@KnugiHK
Copy link
Owner

KnugiHK commented Mar 11, 2024

Hi. Can you show me the corresponding message in WhatsApp?

@mruepp
Copy link
Author

mruepp commented Mar 11, 2024

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...
Screenshot 2024-03-11 at 18 39 47

@mruepp
Copy link
Author

mruepp commented Mar 11, 2024

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...

@KnugiHK
Copy link
Owner

KnugiHK commented Mar 12, 2024

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.

@mruepp
Copy link
Author

mruepp commented Mar 12, 2024

Thank you, is there documentation of --size? --size 0 is kind of counterintuitive. What does it mean?

@KnugiHK
Copy link
Owner

KnugiHK commented Mar 12, 2024

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!

@KnugiHK
Copy link
Owner

KnugiHK commented Mar 12, 2024

Btw, docs are either located in the Wiki or in the help menu.

@jonx
Copy link

jonx commented May 3, 2024

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">

@jonx
Copy link

jonx commented May 3, 2024

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">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants