Skip to content

A small script using Selenium and Chromedriver to automate the mass sending of WhatsApp messages.

Notifications You must be signed in to change notification settings

LaRuim/mass-whatsapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-WhatsApp

A small script using Selenium and Chromedriver to automate the mass sending of WhatsApp messages.

Setting up the script:

  1. Clone the repository
  2. Make sure the chromedriver you have is up to date; if not, download the one for your OS here and extract it in this directory.
  3. Populate the messages and data folders as shown in the sample file
  4. Run the script!

Running the script:

python script.py -m [MESSAGE FILE NAME] -d [DATA FILE NAME]

For further information on the command line arguments, run

python script.py -h

Once the script is running, follow the process of linking the number you want to use to WhatsApp Web, as shown on the screen. You will (as of now) need to do this on every run of the script.

sample.csv

There are three supported ways of entering contact data in a row:

  1. phone, name, tag_id
  2. phone, name
  3. phone

tag_id is what decides which number gets which message template, if using multiple message templates as described in the messages/sample file.

About

A small script using Selenium and Chromedriver to automate the mass sending of WhatsApp messages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages