From 34233f5fd4a44e0b654e6fdf97cedf8766b8ad64 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 23 Aug 2019 17:43:28 +0800 Subject: [PATCH] docs: add PUPPETEER_WS_ENDPOINT --- docs/en/install/README.md | 2 ++ docs/install/README.md | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/install/README.md b/docs/en/install/README.md index 7f05658b9..50c88d74f 100644 --- a/docs/en/install/README.md +++ b/docs/en/install/README.md @@ -300,6 +300,8 @@ Use environment variables is recommended to avoid conflicts during upgrade. `NODE_NAME`: node name, used for load balancing, identify current node +`PUPPETEER_WS_ENDPOINT`: 用于 puppeteer.connect 的浏览器 websocket 链接,见 [browserWSEndpoint](https://zhaoqize.github.io/puppeteer-api-zh_CN/#?product=Puppeteer&version=v1.14.0&show=api-browserwsendpoint) + ### User Authentication Routes in `protected_route.js` will be protected using HTTP Basic Authentication. diff --git a/docs/install/README.md b/docs/install/README.md index 7e395cda2..1779ecd7e 100644 --- a/docs/install/README.md +++ b/docs/install/README.md @@ -289,10 +289,6 @@ $ cd RSSHub $ docker build -f ./Dockerfile.arm32v7 -t rsshub:arm32v7 . ``` -puppeteer 本身不会下载 chrome-arm,需要在 `lib/config.js` 中的 `puppeteerWSEndpoint`中设置相应的远程 Chrome Websocket 地址,以启用相应路由 - -TO DO: 暂时还没有找到合适的 `chrome websocket` arm32v7 镜像 - 运行 RSSHub ```bash @@ -372,6 +368,8 @@ RSSHub 支持 `memory` 和 `redis` 两种缓存方式 `NODE_NAME`: 节点名,用于负载均衡,识别当前节点 +`PUPPETEER_WS_ENDPOINT`: Browser websocket endpoint which can be used as an argument to puppeteer.connect, refer to [browserWSEndpoint](https://pptr.dev/#?product=Puppeteer&version=v1.14.0&show=api-browserwsendpoint) + ### 部分 RSS 模块配置 - pixiv 全部路由: [注册地址](https://accounts.pixiv.net/signup)