From a9f0f943219e835163de5aea6d01fcdb9b190895 Mon Sep 17 00:00:00 2001 From: jtrzupek Date: Wed, 10 Jun 2026 19:20:28 +0200 Subject: [PATCH] feat(sxyprn): mark dead posts during thumbnail refresh sweep MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit resolve_post() now distinguishes "Post Not Found" (mark dead_at — the link wouldn't play anyway) from a live page with no fresh poster (leave untouched), on top of the existing thumbnail refresh. Batched into refresh_batch() with refreshed/dead/untouched counters. Co-Authored-By: Claude Fable 5 --- scripts/refresh_sxyprn_thumbs.py | 99 ++++++++++++++++++++------------ 1 file changed, 62 insertions(+), 37 deletions(-) diff --git a/scripts/refresh_sxyprn_thumbs.py b/scripts/refresh_sxyprn_thumbs.py index e810775..0f43e1f 100644 --- a/scripts/refresh_sxyprn_thumbs.py +++ b/scripts/refresh_sxyprn_thumbs.py @@ -1,14 +1,18 @@ -"""Odśwież wygasłe miniaturki sxyprn z ich (żywych) stron post (bug 2026-06-10). +"""Odśwież wygasłe miniaturki sxyprn z (żywych) stron post + oznacz martwe (bug 2026-06-10). sxyprn/trafficdeposit thumbnaile są podpisane czasowo i ROTUJĄ (token wygasa po -~tygodniach → 404), ALE sama strona /post/.html ŻYJE (200) i zawiera świeży -poster sceny w `og:image` / `