Tithibots / tithiwa

Automate Web WhatsApp with selenium in python.
MIT License
24 stars 22 forks source link

Create get_number_from_contact_name() in contact.py #60

Closed NavpreetDevpuri closed 3 years ago

NavpreetDevpuri commented 3 years ago

do as follow

  1. use open_chat_by_number(name) to open chat

  2. use _open_chat_info() to open chatroom info

    drawing
  3. scape mobile number

  4. use _close_chat_info() to close chatroom info

  5. return scrapped number and Done

NavpreetDevpuri commented 3 years ago

You also try to find the mobile number as follows by somehow getting the network request. When we open chat to someone a request is sent to through the browser and we can somehow get that request in python ShareX_9eT3WGnXFZ

pyvelkov commented 3 years ago

Hello, I have done this without asking you to assign. (I forgot sorry) I will link a PR to this soon.

NavpreetDevpuri commented 3 years ago

I have done this without asking you to assign. (I forgot sorry)

No problem 🤗

Well done!