- legal-source-check (liste de blocage scanlation, robots.txt, rate limiting) - sources: demo (fixture) + mangadex (API officielle) - cleaner, translator (LLM Mistral + glossaire), QA, exporter (md/json/html) - CLI + pipeline resumable (state.json), 22 tests unitaires - sous-agents Mistral Agents SDK: orchestrator + scraper/translator/qa - skills/ (6 SKILL.md), docs légales, CI GitHub Actions Refs: Jira SCAL-1 (Epic CDC), SCAL-2..SCAL-12 (backlog Scrum)
12 lines
549 B
Markdown
12 lines
549 B
Markdown
---
|
|
name: chapter-cleaner
|
|
description: Nettoie un chapitre brut (HTML/JSON) : retire boilerplate, watermarks, liens prev/next ; segmente en blocs typés (dialogue/narration/caption/onomatopée/image [IMG:n]) ; produit chapter.json.
|
|
---
|
|
|
|
# chapter-cleaner
|
|
|
|
Étapes : supprimer nav/pub/watermarks/liens prev-next ; extraire le contenu principal ; segmenter en blocs ordonnés typés ; normaliser UTF-8 ; détecter la langue source.
|
|
|
|
Sortie : `chapter.json` = `{meta, blocks: [{index, type, text, image}]}`.
|
|
Implémentation : `src/scalper/cleaner.py`.
|