Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: 新增新浪财经7x24小时快讯#131

Closed
larria wants to merge 1 commit into
jackwener:mainfrom
larria:feat/sinafinance-cli
Closed

feat: 新增新浪财经7x24小时快讯#131
larria wants to merge 1 commit into
jackwener:mainfrom
larria:feat/sinafinance-cli

Conversation

@larria
Copy link
Copy Markdown
Contributor

@larria larria commented Mar 20, 2026

Description

新增新浪财经-7x24小时快讯

How to use

# 参数说明:
# --limit:获取最近的快讯条目数,最多50条
# --type:获取的新闻类型。0: 全部, 1: A股, 2: 宏观, 3: 公司, 4: 数据, 5: 市场, 6: 国际, 7: 观点, 8: 央行, 9: 其它
opencli sinafinance get724 --limit 10 --type 2

Screenshots / Output

image

@jackwener
Copy link
Copy Markdown
Owner

Merged manually with fixes: command renamed 724→news, type safety, 2-space indent, HTML stripping, res.ok check, CliError. Thank you! 🎉

@jackwener jackwener closed this Mar 20, 2026
jackwener added a commit that referenced this pull request Mar 20, 2026
Based on PR #131 by larria, with fixes applied:
- Renamed command 724 → news for clarity
- Fixed indentation to 2-space project standard
- Added SinaNewsItem type (removed item: any)
- Added res.ok check + CliError for HTTP failures
- Added stripHtml() for rich_text content
- Updated README, README.zh-CN, SKILL.md

Co-authored-by: larria <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants