Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ajxv/whatsapp-selenium-automation

Whatsapp bulk messaging and messaging automation using python and selenium (No API).
https://github.com/ajxv/whatsapp-selenium-automation

automation bulk-message python python3 selenium whatsapp whatsapp-auto-messaging whatsapp-automation whatsapp-bulk-message-sender whatsapp-bulk-messages whatsapp-chat whatsapp-message-sender

Last synced: 2 months ago
JSON representation

Whatsapp bulk messaging and messaging automation using python and selenium (No API).

Awesome Lists containing this project

README

        

# Whatsapp Selenium Automation

Script to automate WhatsApp bulk messaging using Python and Selenium, bypassing the need for an API, allowing you to send personalized messages to multiple recipients directly through the WhatsApp web interface.

## Requirements
- Python 3.1x
- Chrome browser

## Setting Up
- Open chrome and login to Whatsapp web.
- Install required python modules by running `pip install -r requirements.txt` inside the project directory.
- Keep an excel file with message urls in 'Link' column *(preferably inside the same directory as the script and named recipients.xlsx)*.
- Message Link format: `https://web.whatsapp.com/send?phone={}&text={}`
- eg: `https://web.whatsapp.com/send?phone=9876543210&text=hello`

## Running the script
- Run the script `python3 script.py`
- (Optional) arguments:
- `--profile` : Chrome profile where whatsapp web is logged in. Get profile name by going to chrome://version/
- `--input_excel` : Path to excel input. If not provided, script checks for recipients.xlsx file in the same directory.