mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.03k stars 796 forks source link

Error MediaData/MediaBlob #1001

Open agcavaleiro opened 3 years ago

agcavaleiro commented 3 years ago

Anyone got error when try download media after last update? MediaBlob and ClientUrl always return null in MediaData.

pailus commented 3 years ago

yes, because clientUrl has remove, and change with deprecatedMms3Url on js_obj

agcavaleiro commented 3 years ago

I tried this, but returned this error: Access to XMLHttpRequest at 'https://mmg.whatsapp.net/d/f/Aiu8h-Ns374ps17RqFMOWHDEo5bIi2DaVzaeRsu2udQB.enc' from origin 'https://web.whatsapp.com' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

rannyelly commented 3 years ago

I have same error...

erm3nda commented 3 years ago

This, to be exact.

Error in function downloadFile (ReferenceError: None is not defined). Command: return WAPI.downloadFile(None, arguments[0])

There's no fix for this problem yet?