Messages for web bot
1.0.0
Senden Sie automatisch Textnachrichten mit Google Messages für das Web
Python-Selenium-Skript, das Massentextnachrichten an Kontakte sendet, die in einer CSV-Datei gespeichert sind
git clone https://github.com/rgomezjnr/messages-for-web-bot.git
pip install -r requirements.txt
python messages-for-web-bot.py contacts.csv "Hey {}, want to meetup today?"
usage: messages-for-web-bot [-h] [-n] [-d DELAY] [-s START_RANGE]
[-e END_RANGE] [-r RANGE RANGE] [-v]
CONTACTS MESSAGE
Automatically send text messages using Google Messages for web
positional arguments:
CONTACTS CSV file containing contacts to send text messages to
MESSAGE Content of text message to send to contacts, double-
quoted
optional arguments:
-h, --help show this help message and exit
-n, --dry_run Run script without actually sending text messages
-d DELAY, --delay DELAY
Time delay value between automated browser actions, in
seconds
-s START_RANGE, --start_range START_RANGE
Starting row entry in CONTACTS CSV file to send text
messages to, inclusive
-e END_RANGE, --end_range END_RANGE
Ending row entry in CONTACTS CSV file to send text
messages to, inclusive
-r RANGE RANGE, --range RANGE RANGE
Specify range (row entries) in CONTACTS CSV file to
send text messages to
-v, --version show program's version number and exit
By default, MESSAGE will be sent to all contacts in CONTACTS CSV file
Add curly brackets {} in MESSAGE to substitute contact name in MESSAGE
Examples
Send text message to all contacts in contacts.csv and substitute contact name in message:
python messages-for-web-bot.py contacts.csv "Hey {}, want to play ball this Friday at 6?"
Send text message to first 10 contacts (row entries 2-11) in contacts.csv:
python messages-for-web-bot.py --end_range 11 contacts.csv "Hello"
Send text message to 12-20 contact entries in contacts.csv:
python messages-for-web-bot.py --range 12 20 contacts.csv "Hello"
Send text message to remaining contacts after row 20 in contacts.csv:
python messages-for-web-bot.py --start_range 21 contacts.csv "Hello"
Wenn Sie ein Problem finden oder Feedback haben, reichen Sie bitte ein Problem auf GitHub ein.
Wenn Sie Ihre Unterstützung zeigen möchten, freuen wir uns über Spenden über:
Robert Gomez, Jr.
https://github.com/rgomezjnr/Messages-for-web-bot
MIT