2 Star 9 Fork 2

zhoutaoo/wechat_spider

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.js 705 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhoutaoo 提交于 2018-11-07 10:58 +08:00 . 去掉错误的引用
var proxy = require("anyproxy");
module.exports = function () {
//create cert when you want to use https features
//please manually trust this rootCA when it is the first time you run it
!proxy.utils.certMgr.ifRootCAFileExists() && proxy.utils.certMgr.generateRootCA(function () {
});
var options = {
type: "http",
port: 8001,
webInterface: {
enable: true,
webPort: 8002
},
rule: require("./lib/rule_wechat_spider.js"),
silent: false, //optional, do not print anything into terminal. do not set it when you are still debugging.
forceProxyHttps: true
};
new proxy.ProxyServer(options).start()
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/toopoo/wechat_spider.git
git@gitee.com:toopoo/wechat_spider.git
toopoo
wechat_spider
wechat_spider
master

搜索帮助