Comments (4)
More information is required to debug this issue, as I cannot reproduce it personally. It's always possible that the message decoder routine produces an object that has byte strings in it that aren't valid UTF-8. Generally, I tried to take care of that (because strings like this should be base64 encoded), but still.
First, I see that you're on Mac OS, but that shouldn't be an issue. Can you just comment out the line in whatsapp-web-backend.py causing the error, as it's just a log message anyway? Additionally, did you add the .encode('ascii')
part behind it by yourself? At least it isn't part of the current source code.
from whatsapp-web-reveng.
Yes I added .encode('ascii')
, the reason I got that exception was that I try to print out the object so I commented out printing the object, then I managed to get the data of the video but it turns out to be a thumbnail instead of the video itself in base64
from whatsapp-web-reveng.
You're right, this is just like the thumbnail image in #30.
The clientUrl
property refers to an encrypted version of the image/video on the WhatsApp servers and mediaKey
is probably quite important in the decryption process. The fileHash
property's purpose is obvious then.
I have not yet investigated how to actually decrypt such a media file. Maybe the mediaKey
needs to be combined with the general encKey
and maybe AES is involved as well. Still, I don't know about this yet. Would you like to take a look at it and, when you've found the routine details, even add them to the readme documentation? I'd really appreciate that :)
from whatsapp-web-reveng.
Definitely will do 👍
from whatsapp-web-reveng.
Related Issues (20)
- Get a group of users HOT 1
- Is it possible that answering audio call and video call? HOT 2
- It is possible create new chat? HOT 2
- Error QR Generate via docker HOT 1
- How can ı get user presence with no contact HOT 1
- Whatapp monitoring
- some question about HISTORY_SYNC_NOTIFICATION
- hi,some one known how to use this kind data?repay for it!
- wa.web
- Invalid QR code
- update for python3 and run with 0.0.0.0
- lo que ha hecho y hace
- 'cmd': {version: '2.2126.11', type: 'upgrade_md_prod'} HOT 1
- error when requesting to generate qr code HOT 2
- Cod
- I also have a new version,And update in real-time HOT 2
- Is this repo alive? HOT 1
- دو
- Whatsapp bot HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-web-reveng.