-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathscraper.ex.json
48 lines (47 loc) · 1.22 KB
/
scraper.ex.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
{
"scraper": {
"global": {
"typeInput": "yotsuba.json",
"typeOutput": "asagi",
"sourceLinkPosts": "https://a.4cdn.org/",
"sourceLinkFilesThb": "https://i.4cdn.org/",
"sourceLinkFilesSrc": "https://i.4cdn.org/",
"dbSrvHost": "127.0.0.1",
"dbSrvPort": 3306,
"dbUserName": "example",
"dbUserPass": "example",
"dbDatabase": "asagi",
"dbCharset": "utf8mb4",
"doSavePosts": true,
"doSaveFilesThb": true,
"doSaveFilesSrc": true,
"threadsForPosts": 1,
"threadsForFilesThb": 3,
"threadsForFilesSrc": 2,
"catalogScrapeEnable": true,
"catalogScrapeTimeFreq": 120,
"catalogScrapeTimeWait": 300,
"timeBetweenIndexUpdates": 30,
"timeBetweenTopicForceUpdates": 18000,
"timeBetweenFileSaveAttempts": 300,
"indexArchiveOnStartup": false,
"indexArchiveOnConnect": false,
"topicDeleteThreshold": 8,
"fileSavePath": "./media/",
"fileMaxPostAge": null,
"fileTouchOnDupe": false,
"fileMismatchRedo": false,
"fileUseShortNames": false,
"requestUserAgent": "neofuuka-scraper",
"requestTimeoutText": 10.0,
"requestTimeoutFile": 40.0,
"requestThrottleBoard": 0.5,
"requestThrottleGlobal": 0.1
},
"boards": {
"example": {
"sourceBoard": "a"
}
}
}
}