🔄 卡若AI 同步 2026-02-18 06:41 | 更新:水桥平台对接、运营中枢工作台 | 排除 >20MB: 5 个

This commit is contained in:
2026-02-18 06:41:54 +08:00
parent 495087c487
commit dad0b34eb1
5 changed files with 52 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
PASTE_YOUR_FEISHU_COOKIE_HERE
# Get from: cunkebao.feishu.cn/minutes/home -> search "soul 派对" -> F12 -> Network -> list request -> copy Cookie header

View File

@@ -0,0 +1,43 @@
#!/bin/bash
# 一键:用 Cookie 拉取 soul/派对 妙记链接 → 批量下载 TXT 到「聊天记录/soul」
# 前置:在脚本同目录创建 cookie_minutes.txt 并粘贴飞书妙记页的 Cookie仅首行有效
# Cookie 获取:浏览器打开 https://cunkebao.feishu.cn/minutes/home → 搜索「soul 派对」→ F12→网络→找 list 请求→复制 Cookie
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
SOUL_DIR="/Users/karuo/Documents/聊天记录/soul"
URLS_FILE="$SCRIPT_DIR/urls_soul_party.txt"
cd "$SCRIPT_DIR"
# 1) 若有 Cookie拉取链接列表
if [ -f "cookie_minutes.txt" ] && [ -s "cookie_minutes.txt" ]; then
echo "📋 检测到 cookie_minutes.txt拉取 soul/派对 妙记列表…"
python3 fetch_minutes_list_by_cookie.py || true
fi
# 2) 检查 url 列表
if [ ! -f "$URLS_FILE" ] || ! grep -q "feishu.cn/minutes/" "$URLS_FILE" 2>/dev/null; then
echo "❌ urls_soul_party.txt 中无有效链接。"
echo ""
echo "请二选一:"
echo " A) 在脚本同目录创建 cookie_minutes.txt粘贴飞书妙记列表页的 Cookie然后重试"
echo " B) 手动编辑 urls_soul_party.txt每行一个妙记链接https://cunkebao.feishu.cn/minutes/xxx"
echo ""
echo "Cookie 获取步骤:"
echo " 1. 打开 https://cunkebao.feishu.cn/minutes/home"
echo " 2. 搜索框输入「soul 派对」"
echo " 3. F12 → 网络 → 找到 list?size= 请求 → 复制请求头中的 Cookie"
exit 1
fi
mkdir -p "$SOUL_DIR"
echo "📂 输出目录: $SOUL_DIR"
echo "🚀 开始批量下载…"
python3 batch_download_minutes_txt.py \
--list "$URLS_FILE" \
--output "$SOUL_DIR" \
--skip-existing
echo ""
echo "✅ 完成。TXT 保存在: $SOUL_DIR"

View File

@@ -27,7 +27,11 @@ def get_cookie():
if cookie:
return cookie
if COOKIE_FILE.exists():
return COOKIE_FILE.read_text(encoding="utf-8", errors="ignore").strip().splitlines()[0].strip()
raw = COOKIE_FILE.read_text(encoding="utf-8", errors="ignore").strip().splitlines()
for line in raw:
line = line.strip()
if line and not line.startswith("#") and "PASTE_YOUR" not in line:
return line
return ""

View File

@@ -22,3 +22,4 @@
| 2026-02-17 18:35:41 | 🔄 卡若AI 同步 2026-02-17 18:35 | 变更 8 个文件 | 排除 >20MB: 4 个 |
| 2026-02-17 23:20:32 | 🔄 卡若AI 同步 2026-02-17 23:19 | 更新Cursor规则、GitHub Actions、总索引与入口、金仓Gitea脚本与配置、金仓、水桥平台对接、水溪整理归档、卡木、火炬、水泉规划拆解等 | 排除 >20MB: 5 个 |
| 2026-02-18 00:27:57 | 🔄 卡若AI 同步 2026-02-18 00:27 | 更新Cursor规则、GitHub Actions、火炬、火眼智能纪要、总索引与入口、运营中枢参考资料、运营中枢工作台 | 排除 >20MB: 5 个 |
| 2026-02-18 06:29:17 | 🔄 卡若AI 同步 2026-02-18 06:29 | 更新GitHub Actions、运营中枢工作台 | 排除 >20MB: 5 个 |

View File

@@ -25,3 +25,4 @@
| 2026-02-17 18:35:41 | 成功 | 成功 | 🔄 卡若AI 同步 2026-02-17 18:35 | 变更 8 个文件 | 排除 >20MB: 4 个 | [仓库](http://open.quwanzhi.com:3000/fnvtk/karuo-ai) [百科](http://open.quwanzhi.com:3000/fnvtk/karuo-ai/wiki) |
| 2026-02-17 23:20:32 | 成功 | 成功 | 🔄 卡若AI 同步 2026-02-17 23:19 | 更新Cursor规则、GitHub Actions、总索引与入口、金仓Gitea脚本与配置、金仓、水桥平台对接、水溪整理归档、卡木、火炬、水泉规划拆解等 | 排除 >20MB: 5 个 | [仓库](http://open.quwanzhi.com:3000/fnvtk/karuo-ai) [百科](http://open.quwanzhi.com:3000/fnvtk/karuo-ai/wiki) |
| 2026-02-18 00:27:57 | 成功 | 成功 | 🔄 卡若AI 同步 2026-02-18 00:27 | 更新Cursor规则、GitHub Actions、火炬、火眼智能纪要、总索引与入口、运营中枢参考资料、运营中枢工作台 | 排除 >20MB: 5 个 | [仓库](http://open.quwanzhi.com:3000/fnvtk/karuo-ai) [百科](http://open.quwanzhi.com:3000/fnvtk/karuo-ai/wiki) |
| 2026-02-18 06:29:17 | 成功 | 成功 | 🔄 卡若AI 同步 2026-02-18 06:29 | 更新GitHub Actions、运营中枢工作台 | 排除 >20MB: 5 个 | [仓库](http://open.quwanzhi.com:3000/fnvtk/karuo-ai) [百科](http://open.quwanzhi.com:3000/fnvtk/karuo-ai/wiki) |