Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.47 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.47 KB

Whatsapp-autosend-script

A python script to automatically send whatsapp messages.

Any contributions from you guys are welcome. Just fork this repository, make changes in the code and create a pull request, I will merge the changes if it seems interesting. :)

Do star the repo if you think it worth it.

Requirements (on your system)

  1. Chrome/Chromium Browser (https://www.google.com/chrome/browser)
  2. Chrome WebDriver (https://chromedriver.storage.googleapis.com/index.html?path=2.33/)
  3. Python3 (https://www.python.org/downloads/)
  4. Virtualenv ($ pip3 install virtualenv)
  5. Selenium ($ pip3 install selenium)

Steps to run in your local machine

  1. Firstly, clone the repository using the git shell
    $ git clone https://github.com/rajujha373/Whatsapp-autosend-script.git
  2. Goto the base directory of the project
    $ cd Whatsapp-autosend-script
  3. Create a virtual environment and activate it.
    $ virtualenv venv
    $ source venv/bin/activate
  4. Install the requirements for the project
    $ pip install -r requirements.txt
  5. Download the ChromeWebdriver and extract into the directory.
  6. In the file "autosend.py" replace "{global path of chromedriver}" with the absolute path of the downloaded Chrome Webdriver.
  7. Run the script
    $ python3 autosend.py
  8. Enter the details asked (user's name, message to be sent, number of messages to be sent)
  9. Voila!