文档帮助
配置EL站群系统的网络代理,通过系统服务器中转去访问网站,通过后台配置参数即可实现,非翻墙方式访问外网,主要取决于网站服务器网络,如果是海外服务器主机才可以访问到外网。
配置参数对像
{
"network": [{
"name": "网站名称",
"host": "完整网址",
"qs": "默认参数",
"htpoption":htpoption,
"rstr": [{
"ost": "原字符串",
"nst": "替换字符串"
}],
"reg": [{
"ost1": "字符串开始",
"ost2": "字符串结束",
"nst": "替换内容"
}]
}, {
"name": "香港谷歌",
"host": "https://www.google.com.hk/",
"qs": "search?",
"htpoption":{"headers": ["User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36", "Sec-CH-UA-Platform:Windows", "Accept-Language:zh-CN,zh;q=0.9", "Content-Type:application/x-www-form-urlencoded; charset=utf-8"]},
"rstr": [{
"ost": "action=\"\/search\"",
"nst": "action=\"\/IndexWeb\/netweb.do\""
}],
"reg": [{
"ost1": "",
"ost2": "<\/picture>",
"nst": ""
}]
}]
}
配置服务器浏览信息 htpoption
{
method : "GET",
data : null,
timeouts : [10000, 10000, 10000, 30000],
charset : "utf-8",
headers : [],
options:{},
nocache:false,
username : null,
password : null,
proxy :{
username:null,
password:null
},
certificate : null
};