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.02k stars 797 forks source link

are window.Store.WapQuery.profilePicFind or window.Store.ProfilePicThumb.find still working? #1017

Closed michelelaporta closed 3 years ago

michelelaporta commented 3 years ago

i just checkout and installed the master. I'm running tapi/remote.py t On starting I see the following logs:

Debug mode: off
/usr/local/lib/python3.8/dist-packages/selenium-4.0.0a7-py3.8.egg/selenium/webdriver/remote/webdriver.py:691: UserWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  warnings.warn("find_element_by_* commands are deprecated. Please use find_element() instead")

Waiting for QR
Bot started  LoggedIn

These

Waiting for QR
Bot started  LoggedIn

are only showed after qrcode has been scanned.

Then through VNC in firefox-debug-3.14.0-curium console I run :

window.Store.WapQuery.queryExist('00xxxxxxxx@c.us').then(r => {console.log(r)}) -> 200 OK

window.Store.WapQuery.profilePicFind('00xxxxxxxx@c.us').then(r => {console.log(r)}) -> 404 NOT FOUND

window.Store.ProfilePicThumb.find('00xxxxxxxx@c.us').then(r => {console.log(r)}) -> ModelCreateError

I'm sure the second one was working on previous wapi release.

Any help should be appreciated

Michele

michelelaporta commented 3 years ago

I get them working using number without 00 or +. Is something changed on whatapp api side?