Pywhatsapp is used to Automate Whatsapp through Whatsapp web. We can add number of contacts whom we want to send messages. Selenium and Schedule have been used one from Automation and other for Scheduling messages.
We can schedule Good Morning or Good night messages at a particular time for our loved ones. We can set reminders. Suppose at 12 o'clock you want to wish your friend happy birthday so schedule your messages and sleep peacefully.
$ pip install -r requirements.txt
OR
$ pip install selenium
$ pip install schedule
ChromeDriver used if this versions becomes outdates or gives problem download the latest version from Download Link
In this functions Contacts list can be hardcoded or you can give input accordingly.(Make changes in Contact array according to you)
Enter number of Contacts to add-> 2
Enter contact names-> Rahul
Enter contact name-> Shauryauppal
In this function we take input of message to send to all the Contacts list from user.
Example:
Enter the msg to send-> Good morning
schedule.every().Monday.at("06:00").do(sender)
schedule.every().Tuesday.at("07:00").do(sender)
schedule.every().Friday.at("07:30").do(sender)
schedule.every().day.at("08:30").do(sender)
- You make change these schedule days and time according to you.
Issues and Pull requests are most welcome.
License Code and documentation are available according to the Apache License (see LICENSE).