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:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user