Refactor the cron job functionality to transition from a crawling to a searching model. Update related documentation and scripts to reflect the new terminology and functionality, including changes in the README and script comments. Enhance WeChat menu and message handling to support the new search features, ensuring clarity in user interactions and logging.

This commit is contained in:
2026-01-09 08:19:09 +08:00
parent 4000438f49
commit 72dc40186d
20 changed files with 5935 additions and 595 deletions
+31 -11
View File
@@ -34,22 +34,47 @@ class WeChatMenuManager:
self.menu_data = {
"button": [
{
"name": "操作",
"name": "监控操作",
"sub_button": [
{
"type": "click",
"name": "立即爬取",
"name": "立即搜索",
"key": "crawl_now"
},
{
"type": "click",
"name": "今日总结",
"key": "today_summary"
"name": "今日统计",
"key": "today_stats"
},
{
"type": "click",
"name": "自定义爬取",
"key": "custom_crawl"
"name": "关键词搜索",
"key": "keyword_search"
},
{
"type": "click",
"name": "最新公告",
"key": "latest_news"
}
]
},
{
"name": "系统管理",
"sub_button": [
{
"type": "click",
"name": "关键词管理",
"key": "keyword_manage"
},
{
"type": "click",
"name": "系统状态",
"key": "system_status"
},
{
"type": "click",
"name": "清理缓存",
"key": "clear_cache"
}
]
},
@@ -60,11 +85,6 @@ class WeChatMenuManager:
"type": "click",
"name": "使用说明",
"key": "help_guide"
},
{
"type": "click",
"name": "联系我们",
"key": "contact_us"
}
]
}