Skip to content

Arnavdas/Whatsapp_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Whatsapp_scripts

Just a naive whatsapp web reader & sender.

Properties & Features :

  • Will always need mobile whastapp scanner to log in.
  • Finds a contact which has been recently(see limitations) contacted and sends message to them and also reads last few messages from them.
  • Tested in Linux + Firefox only.
  • Uses selenium Library mostly.

Limitation :

  • Most xpaths and class names in web.whatsapp will change in future, so yeah this code definitely won't stand the test of time.
  • It's strange but when finding for recent contacts, the first 13 contacts are numbered/referenced between o-12 but after that it changes drastically like the contact immediately aft 12th last contacted is indexed at 50th, didn't try to understand the numbering scheme much though, only coded for the first 13.(it maybe the case, it will be numbered different or more orderly in some other browser etc)
  • Used a lot of time.sleep() because browser opening up, whatsapp connections took some time.

Sources & Thoughts :

About

Just a naive whatsapp web reader & sender.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages