| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- {
- "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,}"
- },
- "record_filter": {
- "enabled": true,
- "records_path": "data.good[]",
- "domain_field": "ip",
- "exclude_if_any": [
- {
- "field_path": "locationCountry",
- "contains": "泛播",
- "case_sensitive": false
- },
- {
- "field_path": "locationCity",
- "contains": "泛播",
- "case_sensitive": false
- }
- ]
- },
- "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"
- ],
- "within_hours": 24,
- "prefer_lower": false,
- "use_api_order": false
- },
- "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": ""
- }
- }
|