forked from DeuxHuitHuit/algolia-webcrawler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
53 lines (46 loc) · 900 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"app": "<my app>",
"cred": {
"appid": "<ALGOLIA APP ID>",
"apikey": "<ALGOLIA API KEY>"
},
"oldentries" : 86400000,
"oldentriesfilters": "",
"maxRecordSize": 10000,
"index": {
"name": "<my index>",
"settings": {
"attributesToIndex": ["title", "unordered(description)", "unordered(text)"],
"attributesForFaceting": ["lang"]
}
},
"sitemaps": [
{"url": "http://example.com/fr/sitemap.xml", "lang": "fr"},
{"url": "http://example.com/en/sitemap.xml", "lang": "en"}
],
"http": {
"auth": "",
"headers": {
}
},
"delayBetweenRequests": 100,
"selectors": {
"title": "title",
"image": "meta[property=\"og:image\"]",
"description": "meta[name=\"description\"]",
"text": "h1, h2, h3, h4, h5, h6, p, li"
},
"exclusions": {
},
"formatters": {
},
"types": {
},
"defaults": {
},
"plugins": [
],
"pingbackUrl": "",
"blacklist": [
]
}