(items)
| 2341 | |
| 2342 | |
| 2343 | def fmt_to_update(items): |
| 2344 | if not items: |
| 2345 | print("✅ 没有 #to-be-updated 积压") |
| 2346 | return |
| 2347 | print(f"⏳ {len(items)} 个页面带 #to-be-updated 标签:\n") |
| 2348 | for it in items: |
| 2349 | last = it.get("last_modified") or "?" |
| 2350 | print(f" [{it['type']}] {it['title']} (last: {last}) → {it['path']}") |
| 2351 | |
| 2352 | |
| 2353 | def fmt_backlinks(links): |