Love the project? Please consider staring it!
-
Scan QR code only once, It creates and uses separate user data for chrome to keep you logged in.
-
It works even if you don't have the numbers saved in your contacts.
-
Stores a screenshot right after sending a message for verification.
-
It skips invalid/number which doesn't have a WhatsApp account.
-
Works on a single browser window even when using multiple wa.me links.
-
Stores failed / invalid numbers in a file for debugging later.
Using pip
pip install selenium
For checking chrome version :
chrome://version
-
Download according to your chrome version from HERE
-
Add ChromeDriver to your PATH (System variable) HERE
To verify chromedriver installation run on CMD :
chromedriver.exe -v
In a new folder, place main.py
and create num.txt
, msg.txt
Find this line and replace with path of your newly created folder.
scriptdir='C:\\Users\\aksha\\Documents\\WBMS\\'
For example : scriptdir='C:\\coding\\WBMS\\'
- In
msg.txt
add the message you wish to send. - In
num.txt
add 10 digit phone numbers line wise (Don't include country code) For Example :
9876543210
9123456789
Run main.py
python main.py
At first run you will get whatsapp QR code Login window. After logging in succesfully restart the script. It should now be already loged in.
All important messages will be shown on the console window.
-
- 1st number is a 8 digit number (Invalid)
- 2nd number is a (Valid) number
- 3rd number is not on whatsapp (Invalid)
- 1st number is a 8 digit number (Invalid)
Contributions, issues and feature requests are welcome!
Feel free to check repositories page.
Give a โญ๏ธ if this project helped you!
Copyright ยฉ 2022 Akshay Parakh.
This project is Apache License 2.0 licensed.