返回 Skill 列表
extension
分类: 数据与分析无需 API Key

Wenxuecity News Rankings

从文学城新闻网站获取并格式化新闻排行榜,特别是两个24小时榜单(热度榜和讨论榜)。

person作者: tonyguo2010hubclawhub

Wenxuecity News Rankings

Quick start

Fetch both 24-hour ranking lists and print Markdown.

Windows (PowerShell):

py scripts/fetch_rankings.py --format md

Linux/macOS (bash/zsh):

python3 scripts/fetch_rankings.py --format md

Output JSON (for storage/diff/automation).

Windows (PowerShell):

py scripts/fetch_rankings.py --format json --pretty --top 50 --output rankings.json

Linux/macOS (bash/zsh):

python3 scripts/fetch_rankings.py --format json --pretty --top 50 --output rankings.json

Output conventions

  • Two groups: hot_24h, discussion_24h
  • Each item: rank, title, url (optional: image_url)
  • Default behavior: --top 15 (override via --top N; use --top 0 for all)

Notes

  • This skill only fetches the ranking entries (not article bodies).
  • If Wenxuecity page structure changes, update scripts/fetch_rankings.py and validate against the live page.
  • The source page may contain fewer than 15 entries for a given list; the script outputs what is available.