Are you tired of answering all those birthday messages via Whatsapp? Here is the solution to help you in this boring situations, this script will reply automatically all those messages!
In this project, we are using:
The list of dependecies used here are able on requirements.txt
Install the dependencies with pip
$ pip install -r requirements.txt
To manipulate the browser through the script, you need a driver to do it. Here, we are using the Mozilla's Geckodriver. To install the geckodriver, you just have to install the binary file of it, named 'geckodriver.exe' and able in the bin folder.
To select the contacts that you want to reply automatically, you must put the contacts's names in the list people_names, on the line 10.
10 | people_names = ['person one', 'person two']
To run the script, execute the codes below:
$ cd src
$ python script.py
Remember that you should be inside the root path of the repository.
- Find out a way to get the class copyable-text.selectable-text
- Get as environment variables the contacts that you want the script reply.
- Use the Whatsapp API in the script.