fix(tools): guard csv replace against newer fan records
This commit is contained in:
1 parent
dd6b09807d
commit
998d0fd0c0
4 files changed
+43
-1
No files matched your search
+1
-1
@@ -439,7 +439,7 @@ P3 实现说明:
|
||||
- 其他错误最多重试 3 次,仍失败则写入 `ok=0` 与错误信息,不写伪造的零值;
|
||||
- 每条视频请求之间随机等待 1.0~1.6 秒;
|
||||
- 对 `track_fans` 中的每个 mid 请求一次 `relation/stat` 并写入 `up_stat`;
|
||||
- 可用 `tools/import_fans_csv.py` 从 B 站粉丝历史 CSV 回填 `up_stat`;只写 `up_stat`,默认跳过已有成功记录,`--replace` 可用完整历史覆盖重建;
|
||||
- 可用 `tools/import_fans_csv.py` 从 B 站粉丝历史 CSV 回填 `up_stat`;只写 `up_stat`,默认跳过已有成功记录,`--force` 覆盖同日期,`--replace` 用完整历史覆盖重建(存在晚于 CSV 末尾的记录时默认拒绝,需显式 `--allow-lossy-replace`);
|
||||
- 任务结束向 Telegram 发送成功数、失败数、移除数和总耗时摘要。
|
||||
|
||||
服务启动后若当天快照尚未成功完成,应补跑当日任务;已成功的 `(stat_date, aid)` 不重复请求。
|
||||
|
||||
Reference in new issue
Block a user