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
@@ -22,7 +22,7 @@
{"name": "WolframAlpha", "url": "https://www.wolframalpha.com/input?i={keyword}", "region": "global", "type": "url"}
],
"news_sources": [
{"name": "cls", "url": "https://www.cls.cn/searchPage?keyword={keyword}&type=all", "region": "cn", "type": "news"},
{"name": "财联社", "url": "https://www.cls.cn/searchPage?keyword={keyword}&type=all", "region": "cn", "type": "news"},
{"name": "wallstreetcn", "url": "https://wallstreetcn.com/search?q={keyword}", "region": "cn", "type": "news"},
{"name": "Hacker News", "type": "news", "region": "global"},
{"name": "GitHub Trending", "type": "news", "region": "global"},