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
hot_24h, discussion_24hrank, title, url (optional: image_url)--top 15 (override via --top N; use --top 0 for all)scripts/fetch_rankings.py and validate against the live page.共 1 个版本