-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
33 lines (33 loc) · 915 Bytes
/
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
{
"default-internal-time":300,
"email": {
"smtp_url": "smtp.gmail.com:587",
"sender": "SENDER_ADDRESS",
"sender-password": "SENDER_PASSWORD",
"receivers": ["RECEIVER_ADDRESS_1", "RECEIVER_ADDRESS_2"]
},
"sites": [
"PokemonCenter",
"AmazonJP"
],
"PokemonCenter": {
"base_url": "https://www.pokemoncenter-online.com",
"xpath_selector" : {
"itemStatus": "//img[@class=\"add_cart_btn\"]",
"productName": "//h1[@itemprop=\"name\"]/text()"
},
"item-to-parse": [
"P_CD"
]
},
"AmazonJP": {
"base_url": "https://www.amazon.co.jp/dp/",
"xpath_selector" : {
"itemStatus": "//*[@id='priceblock_ourprice']",
"productName": "//span[@id='productTitle']"
},
"item-to-parse": [
"ID"
]
}
}