- Open DMer.py File and Edit The Following Lines:
-
username = 'USERNAME' # Enter your username here
[line:26] -
password = 'PASSWORD' # Enter your password here
[line:27] -
timee = "21:44" # Specific Time When The message will be send
[line:93] -
txt_box.send_keys(f"Hi @{usrnames} ! What's up ?") # Messege that you want to send
[line:55] -
usrnames = ['psinha_09', 'sinha.py'] # List of users to whom you want to send messages
[line:13]
Ensure that you have Chrome installed and the
chromedriver
that matches
your Chrome version available on your $PATH
. You may have to update this from time to time.
- Python
python
on the PATH- The Requests Library for Python:
pip install requests
- Install Selenium:
pip install selenium
- Install Schedule:
pip install schedule
- Run the programme using:
python DMer.py