speeches: always parse protocol responses, the wanted anchors grow over time

The reparse after the XXIV-XXVII fix left 12.7k speeches without text: their protocol had been
fetched earlier for other anchors, and an unchanged body was never parsed again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
simonandClaude Opus 5.5 committed 2026-11-20 00:58:10 +01:00
1 parent 95355305d4
commit d2039a9dc3
1 file changed
+3 -1
@@ -105,7 +105,9 @@ class SpeechTexts(Adapter):
by_file[file].append(anchor)
ctx.stats["protocols_pending"] = len(by_file)
for file, anchors in list(by_file.items())[:limit]:
yield Request(url=file, kind="protocol", meta={"anchors": sorted(set(anchors))})
# always parse: the anchors wanted from a file grow over time, and the archive keeps the first set only
yield Request(url=file, kind="protocol", meta={"anchors": sorted(set(anchors))},
conditional=False, skip_unchanged=False)
def parse(self, ctx: RunContext, response: Response) -> Iterator[Any]:
anchors = response.meta["anchors"]