| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- {
- "api": {
- "url": "https://vps789.com/openApi/cfIpTop20",
- "method": "GET",
- "headers": {},
- "params": {},
- "timeout_sec": 10
- },
- "parser": {
- "field_paths": [
- "data.good[].ip"
- ],
- "json_paths": [],
- "regex": "[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}"
- },
- "domain_filter": {
- "include_suffixes": [],
- "exclude_regex": [
- "^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}$"
- ]
- },
- "scoring": {
- "enabled": true,
- "records_path": "data.good[]",
- "ip_field": "ip",
- "created_time_field": "createdTime",
- "score_fields": [
- "avgScore",
- "ydScore",
- "dxScore",
- "ltScore"
- ],
- "within_hours": 24,
- "prefer_lower": true,
- "use_api_order": true
- },
- "healthcheck": {
- "enabled": false,
- "attempts": 2,
- "timeout_ms": 1800,
- "port": 443,
- "tls_verify": true
- },
- "selection": {
- "top_n": 3
- },
- "output": {
- "runtime_dir": "./runtime",
- "current_domain_file": "current_domain.txt",
- "current_domain_json": "current_domain.json",
- "state_file": "state.json",
- "substore_vars_file": "substore_vars.json"
- },
- "v2ray": {
- "template_file": "",
- "output_file": "",
- "replace_token": "__AUTO_DOMAIN__"
- },
- "notify": {
- "command": ""
- }
- }
|