Skip to content

nitter-cli v0.7.2

Choose a tag to compare

@github-actions github-actions released this 23 Sep 14:15
· 122 commits to main since this release

v0.7.2 — 2026-09-23

Reliable RSS pagination, merged multi-source fetches, and the documentation corrections that came with them.

Added

  • Merged RSS fetching for multi-source watches: with --no-reposts and two or more user: sources, a cycle
    now acquires them with ONE RSS request per batch (/{u1,u2,...}/rss, each batch kept under 250 path characters)
    and splits the feed per author, instead of one request per source. The merged feed cannot represent a repost
    (Nitter attributes the item to the original author), which is why this only applies when reposts are filtered
    out; fetch_backend = "fx" never merges, and "mix" serves those sources from Nitter rather than the fast lane.
    A batch whose request fails is not lost — the affected sources fall back to their own fetch.
    (e0ac167)

Changed

  • State-store errors name the operation in the same form as every other error: watch, seen list and
    seen clear reported a corrupt or unreadable state file with a prose prefix (load seen state: …) instead of
    the package-qualified operation every other classified error uses. It is now seen.Load: … (and seen.Save: …
    on the write path). Kinds, exit codes and the state-file semantics are unchanged.
    (cf050f5)
  • The documented mix fetch routing matches measured behavior: the FAQ listed comments, following,
    profile, quotes, trends and search --type user among the commands that fall back to your own instances
    on failure, and described nitter mode as keeping every fetch self-hosted. Those six commands have no Nitter
    equivalent and always reach api.fxtwitter.com, and fetch_backend only routes the timeline and status
    surfaces. The text now states that split. (b526158)

Fixed

  • The Nitter RSS scan follows the Min-Id cursor instead of reading one page: a timeline whose backlog spanned
    more than one feed page was silently truncated — --max-new above one page could not be satisfied, and a first
    run recorded only the first page, so anything older was never emitted. The scan now pages until the feed runs out
    of cursors, the --max-pages budget is spent, or a page adds nothing the source has not already seen.
    (564bf1b)
  • nitter download reports a local disk failure as a local failure: a failed write to the target file — a full
    disk, most often — surfaced as upstream_unavailable and sent the caller looking at the instance. It is now the
    local_state_error every other local filesystem failure on the same path already used. Exit codes are unchanged
    (both are exit 1). (7b271b2)

Full Changelog: v0.7.1...v0.7.2


v0.7.2 — 2026-09-23

RSS 取数可翻页、多源合并为一次请求,以及随之而来的文档修正。

新增

  • 多源 watch 的合并 RSS 取数:带 --no-reposts 且有两个及以上 user: 源时,一轮改为每批一次
    RSS 请求取这些源(/{u1,u2,...}/rss,每批路径长度控制在 250 字符内),再按作者拆分 feed,而不是
    逐源抓取。合并 feed 无法表示转推(Nitter 会把转推条目归到原作者名下),因此仅在过滤掉转推时启用;
    fetch_backend = "fx" 从不合并,"mix" 下这些源改由 Nitter 提供而非快车道。某批请求失败不会丢源:
    受影响的源回退到各自的抓取路径。
    (e0ac167)

变更

  • 状态存储错误与其他错误采用同一种操作名写法:watch、seen list 与 seen clear 在状态文件
    损坏或不可读时,报错前缀是散文式短语(load seen state: …),而其他所有已分类错误都用包限定形式。
    现改为 seen.Load: …(写路径为 seen.Save: …)。Kind、退出码与状态文件语义均不变。
    (cf050f5)
  • mix 取数路由的文档改为与实测一致:FAQ 此前把 comments、following、profile、quotes、
    trends 与 search --type user 也算进「失败时回退到自建实例」,并把 nitter 模式描述为「全部取数
    自托管」。这两条都不成立——这六个命令没有 Nitter 对应端点,始终访问 api.fxtwitter.com,而
    fetch_backend 只路由时间线与状态两类取数。文档现在直接说明这条分界。
    (b526158)

修复

  • Nitter RSS 取数改为沿 Min-Id 游标翻页,不再只读一页:积压跨越多页的时间线此前会被静默截断——
    超过一页的 --max-new 无法满足,且首跑只记录第一页,更早的推文永远不会被推送。现在扫描会一直翻页,
    直到上游不再提供游标、--max-pages 预算耗尽,或某一页不再带来该源未见过的新推文。
    (564bf1b)
  • nitter download 把本地磁盘写失败报成本地错误:写入目标文件失败(最典型是磁盘满)此前报
    upstream_unavailable,会让人去查实例;现在改为与同一路径上其它本地文件系统失败一致的
    local_state_error。退出码不变(两者都是 exit 1)。
    (7b271b2)

完整变更:v0.7.1...v0.7.2