-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
57 lines (56 loc) · 1.68 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"dev": {
"env": "dev",
"dir_cookie": "cache/cookies",
"dir_captcha": "cache/images",
"dir_download": "cache/download",
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36",
"captcha_params": {
"noise": {
"path": "C:/scrapper/bsi-scrapper/tools/noiseremove.py",
"passfactor": 130
}
},
"server_params": {
"host": "0.0.0.0",
"port": 9009
},
"socket": "http://localhost:9991"
},
"live": {
"env": "live",
"dir_cookie": "cache/cookies",
"dir_captcha": "cache/images",
"dir_download": "cache/download",
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36",
"captcha_params": {
"noise": {
"path": "/path/to/scrapper/bsi-scrapper/tools/noiseremove.py",
"passfactor": 130
}
},
"server_params": {
"host": "0.0.0.0",
"port": 9009
},
"socket": "http://localhost:9991"
},
"prod": {
"env": "live",
"dir_cookie": "cache/cookies",
"dir_captcha": "cache/images",
"dir_download": "cache/download",
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36",
"captcha_params": {
"noise": {
"path": "/path/to/scrapper/bsi-scrapper/tools/noiseremove.py",
"passfactor": 130
}
},
"server_params": {
"host": "0.0.0.0",
"port": 9009
},
"socket": "http://localhost:9991"
}
}