fix: 财联社改用公开 API,替代 JS 渲染搜索页

- Rewrite cls.py to use nodeapi/telegraphList public API
  (SHA1+MD5 signed, no API key required)
- Returns real-time financial news with parsed titles and timestamps
- Unique per-item URLs to avoid dedup collision
- Update engine name from 'cls' to '财联社' for CLI usability
- Update SKILL.md known limitations
This commit is contained in:
vex1023 committed 2026-05-20 12:38:10 +08:00
1 parent 9578080ec4
commit 4a42a00156
4 files changed
+143 -71

No files matched your search

+1 -1
View File
@@ -210,7 +210,7 @@ class UnifiedSearch:
engine = DuckDuckGoEngine(self.config)
elif engine_type == "baidu_qianfan" or "baidu qianfan" in name.lower():
engine = BaiduQianFanEngine(self.config)
elif "cls" in name.lower():
elif "cls" in name.lower() or "财联社" in name:
engine = CLSNewsEngine(self.config)
elif "wallstreet" in name.lower() or "华尔街" in name:
engine = WallStreetCNEngine(self.config)