forked from GaryniL/Amazon-Price-Alert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
34 lines (34 loc) · 1.02 KB
/
config.json
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
{
// time between each check (seconds)
"default-internal-time":900,
// 1 -> Email
// 2 -> IFTTT
// 3 -> Telegram
"send_Mode":1,
"email": {
"smtp_url": "smtp.gmail.com:587",
// sender gmail
"sender": "MAIL_ACCOUNT_ADDRESS",
"sender-password": "MAIL_ACCOUNT_PWD",
// receivers emails (full format, can be mutiple)
"receivers": ["receiver-mail-address-1","receiver-mail-address-2"]
},
"IFTTT": {
"key": "IFTTT_KEY",
"eventName": "IFTTT_EVENT_NAME"
},
"Telegram": {
"botToken": "TOKEN",
"chatId": "CHAT_ID"
},
// amazon base url
"amazon-base_url": "https://www.amazon.jp/dp/",
"xpath_selector" : {
"price": "//*[@id='priceblock_ourprice']",
"productname": "//span[@id='productTitle']"
},
"item-to-parse": [
// item id , your expected price, productname(optional)
["B01NCXFWIZ", 33500,"Nintendo Switch Joy-Con (L) ネオンブルー/ (R) ネオンレッド"]
]
}