Sanitize for open-source release

- Replace internal tenant name yitanger.feishu.cn with your-tenant.feishu.cn
- Replace real wiki token with placeholder WikiNodeTokenExample
- Parameterize tenant via FEISHU_TENANT env var in feishu-to-md.mjs
- Expand .gitignore to cover cookies, auth artifacts, IDE files
This commit is contained in:
beyondx123
2026-07-05 14:22:31 +08:00
parent 16e93220ce
commit 50682eeb30
5 changed files with 39 additions and 8 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
*
* 示例:
* node auto-scrape.mjs https://yitang.top/fs-doc/abc123/docId
* node auto-scrape.mjs https://yitanger.feishu.cn/wiki/R9NywV2i9i...
* node auto-scrape.mjs https://your-tenant.feishu.cn/wiki/WikiNodeTokenExample...
*
* Cookie 持久化:首次登录后自动保存,之后无需重复扫码。
*/
@@ -41,7 +41,7 @@ if (!args[0] || args[0] === '--help' || args[0] === '-h') {
示例:
node auto-scrape.mjs https://yitang.top/fs-doc/abc/docId
node auto-scrape.mjs https://yitanger.feishu.cn/wiki/R9NywV2i9izjuqkPd63cWuafn4g
node auto-scrape.mjs https://your-tenant.feishu.cn/wiki/WikiNodeTokenExample
node auto-scrape.mjs https://yitang.top/fs-doc/abc/docId 课程笔记.md
`);
process.exit(0);