✨ Suppression de la partie légal
This commit is contained in:
1 parent
0c5189d9ca
commit
d0a95adeb9
36 files changed
+73
-572
No files matched your search
@@ -1,18 +0,0 @@
|
||||
---
|
||||
name: legal-source-check
|
||||
description: Valide qu'une source manga/webtoon est légale (robots.txt, CGU, licence, liste de blocage) avant tout scraping. Bloqué si un critère échoue.
|
||||
---
|
||||
|
||||
# legal-source-check
|
||||
|
||||
Checklist (toutes doivent passer) :
|
||||
1. robots.txt : chemins ciblés non interdits.
|
||||
2. CGU : pas d'interdiction de scraping/réutilisation.
|
||||
3. Licence : API officielle, Creative Commons, domaine public ou contenu propre.
|
||||
4. Aucun contournement de paywall/captcha/authentification.
|
||||
5. Liste de blocage : sites de scanlation non autorisés refusés (ex. mangas-origines).
|
||||
|
||||
Politique de crawl : UA identifiable, >= 1s entre requêtes, 1 concurrence, backoff sur 429/5xx.
|
||||
|
||||
Sortie : verdict JSON `{source, verdict: allowed|blocked, reasons, license}`.
|
||||
Implémentation : `src/scalper/legal.py`.
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
name: manga-exporter
|
||||
description: Exporte un chapitre traduit en Markdown, JSON ou HTML, avec images relatives, page « Source et licence » obligatoire et noms de fichiers assainis.
|
||||
description: Exporte un chapitre traduit en Markdown, JSON ou HTML, avec images relatives et noms de fichiers assainis.
|
||||
---
|
||||
|
||||
# manga-exporter
|
||||
|
||||
Formats : `md`, `json`, `html` (EPUB en V2). Noms : `<series>-<chapitre>-<lang>.<ext>`. Page « Source et licence » (URL, licence, date) incluse dans chaque export. Jamais d'export depuis une source bloquée.
|
||||
Formats : `md`, `json`, `html` (EPUB en V2). Noms : `<series>-<chapitre>-<lang>.<ext>`.
|
||||
|
||||
Implémentation : `src/scalper/exporter.py`.
|
||||
@@ -7,6 +7,6 @@ description: Scraping générique et respectueux via un SourceAdapter, avec rate
|
||||
|
||||
Contrat `SourceAdapter` : `list_series()`, `list_chapters(series_id)`, `fetch_chapter(chapter, dest_dir)`.
|
||||
|
||||
Règles : passer par legal-source-check d'abord ; >= 1s entre requêtes, 1 thread, UA identifiable, backoff ; stockage `out/raw/<source>/<series>/<chapter>/` + `state.json` resumable ; jamais de contournement d'auth/paywall.
|
||||
Règles : >= 1s entre requêtes, 1 thread, UA identifiable, backoff ; stockage `out/raw/<source>/<series>/<chapter>/` + `state.json` resumable.
|
||||
|
||||
Implémentations : `src/scalper/sources/demo.py` (fixture), `src/scalper/sources/mangadex.py` (API officielle).
|
||||
Implémentations : `src/scalper/sources/demo.py` (fixture), `src/scalper/sources/mangadex.py` (API MangaDex).
|
||||
Reference in new issue
Block a user