-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathconfig.py
More file actions
43 lines (26 loc) · 1.54 KB
/
Copy pathconfig.py
File metadata and controls
43 lines (26 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#-----------------------------------------BASICS-------------------------------------
url = 'http://127.0.0.1' # url to monitor
wait_time = 10 #customizable time to wait to check for changes IE every 20 secs
#------------------------------------GMAIL SECTION----------------------------------
notify = False #True to notify via email on change False
user = '' #emailuser@gmail.com
pwd = '' #app password generated by google IE "djfj rubi sifu sofi"
recipient = '' #recievingemail@gmail.com
# ----------------------------------TWITTER SECTION------------------------------------
tweet = False #True to tweet on change, False not to
consumer_key = ''
consumer_secret = ''
access_token = ''
access_token_secret = ''
#---------------------------------SMS SECTION------------------------------------------
#https://www.twilio.com/console/account/settings
text = True #True to send text, false to not
accountSID = ''
authToken = ''
myNumber = '' #number to send text messages to
twilioNumber = '' #twillio phone number
'''
always remember that this isn't a "shopify monitor" or "restock monitor", it just watches for even the smallest change in the content of a site.
So if it starts spamming your twitter feed make sure you're there to turn it off etc. to avoid getting banned or losting all your followers.
Same thing with the email, it will spam until you can turn it off essentially.
'''