Messages for web bot
1.0.0
웹용 Google 메시지를 사용하여 자동으로 문자 메시지 보내기
CSV 파일에 저장된 연락처에 대량 문자 메시지를 보내는 Python Selenium 스크립트
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"
문제를 발견하거나 피드백이 있으면 GitHub에 문제를 제출해 주세요.
귀하의 지원 기부를 보여주고 싶다면 다음을 통해 크게 감사드립니다:
로버트 고메즈 주니어
https://github.com/rgomezjnr/Messages-for-web-bot
MIT