Skip to content

Latest commit

Β 

History

History
103 lines (77 loc) Β· 2.32 KB

File metadata and controls

103 lines (77 loc) Β· 2.32 KB

πŸš€ Quick Start Guide

Files Overview

  • main.py - Main WhatsApp bulk sender script
  • config.py - Configuration settings (delays, selectors, etc.)
  • contacts.csv - Sample CSV file with contact format
  • requirements.txt - Python dependencies
  • setup.py - Automated setup script
  • setup.bat - Windows setup script
  • setup.sh - Unix/Linux/Mac setup script
  • test_setup.py - Test script to verify installation
  • README.md - Comprehensive documentation

πŸƒβ€β™‚οΈ Quick Setup (Choose One)

Option 1: Automated Setup (Recommended)

Windows:

setup.bat

Unix/Linux/Mac:

./setup.sh

Option 2: Manual Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Install Playwright browsers:
playwright install chromium
  1. Test setup:
python test_setup.py

πŸ“ Usage

  1. Edit contacts.csv with your contacts:
PhoneNumber,Message,AttachmentPath
+1234567890,"Hello! This is a test message.",
+0987654321,"Hi! Please find attached file.",/path/to/file.jpg
  1. Run the script:
python main.py
  1. Scan QR code when WhatsApp Web opens

  2. Monitor progress in console and whatsapp_bulk_sender.log

βš™οΈ Configuration

Edit config.py to customize:

  • Message delays (30-90 seconds by default)
  • File size limits
  • Browser settings
  • CSS selectors

πŸ”§ Troubleshooting

  • Dependencies missing? Run python test_setup.py
  • QR code timeout? Scan within 2 minutes
  • Invalid numbers? Use international format (+country_code_number)
  • Attachments failing? Check file paths and size limits

πŸ“Š Features

βœ… Automated WhatsApp Web interaction
βœ… CSV contact management
βœ… File attachments (images, videos, PDFs)
βœ… Human-like delays (30-90 seconds)
βœ… Comprehensive logging
βœ… Error handling and recovery
βœ… Safe stop/resume capability

⚠️ Important Notes

  • Test with few contacts first
  • Comply with WhatsApp Terms of Service
  • Use responsibly and ethically
  • Keep backups of your data

πŸ†˜ Need Help?

  1. Check whatsapp_bulk_sender.log for detailed errors
  2. Run python test_setup.py to verify setup
  3. Read the full README.md for comprehensive documentation

Happy messaging! πŸ“±βœ¨