chore: collect latest dingTalk feishu docs

This commit is contained in:
Evilom
2026-07-03 14:39:58 +08:00
parent d60ee0bc7c
commit 3ea50649f6
167 changed files with 23587 additions and 1759 deletions
@@ -3,7 +3,7 @@ import argparse, json, os, sys
from datetime import datetime, timedelta
from collections import defaultdict
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from paths import DATA_DIR, LINKS_DIR, DOCS_DIR, REPORTS_DIR
from paths import DATA_DIR, LINKS_DIR, DOCS_DIR, REPORTS_DIR, normalize_messages
def load_json(path):
if not os.path.isfile(path): return None
@@ -15,7 +15,7 @@ def main():
p.add_argument("--full",action="store_true"); p.add_argument("--brief",action="store_true")
args = p.parse_args()
messages = load_json(os.path.join(DATA_DIR,"raw-messages","all_messages_combined.json")) or {}
messages = normalize_messages(load_json(os.path.join(DATA_DIR,"raw-messages","all_messages_combined.json")) or {})
content = load_json(os.path.join(LINKS_DIR,"all_feishu_content.json")) or {}
files = load_json(os.path.join(LINKS_DIR,"all_file_attachments.json")) or []
docs = {}