Repository navigation
nitter-cli v0.7.2
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-repostsand two or moreuser: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 listand
seen clearreported 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 nowseen.Load: …(andseen.Save: …
on the write path). Kinds, exit codes and the state-file semantics are unchanged.
(cf050f5) - The documented
mixfetch routing matches measured behavior: the FAQ listedcomments,following,
profile,quotes,trendsandsearch --type useramong the commands that fall back to your own instances
on failure, and describednittermode as keeping every fetch self-hosted. Those six commands have no Nitter
equivalent and always reachapi.fxtwitter.com, andfetch_backendonly routes the timeline and status
surfaces. The text now states that split. (b526158)
Fixed
- The Nitter RSS scan follows the
Min-Idcursor instead of reading one page: a timeline whose backlog spanned
more than one feed page was silently truncated —--max-newabove 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-pagesbudget is spent, or a page adds nothing the source has not already seen.
(564bf1b) nitter downloadreports a local disk failure as a local failure: a failed write to the target file — a full
disk, most often — surfaced asupstream_unavailableand sent the caller looking at the instance. It is now the
local_state_errorevery 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