gwoe-antragspruefer/app/protokoll_parsers/ni.py

48 lines
1.7 KiB
Python
Raw Normal View History

"""Niedersachsen (NI) — Plenarprotokoll-Parser STUB (#106 Folge, ADR 0009).
**Status: noch nicht implementiert.** Dieser Modul-Stub enthaelt
Recherche-Findings vom 2026-04-28, sodass die Implementer-Session
direkt produktiv loslegen kann. Der Stub wird **nicht** in
``app.protokoll_parsers.PROTOKOLL_PARSERS`` registriert der
Auto-Ingest-Cron ueberspringt NI solange.
## Recherche
| Feld | Wert |
|---|---|
| **Doku-System** | StarWeb |
| **Base-URL** | https://www.landtag-niedersachsen.de |
| **Familie** | HB/SH-Familie |
| **Format** | PDF erwartet, ggf. mit Auth-Workaround |
## URL-Discovery
nilas-Portal Login-protected fuer Drucksachen fuer Plenarprotokolle ggf. eigener oeffentlicher Endpunkt; HAR-Capture noetig (siehe Issue #22)
## Bezug
- Architektur: ADR 0009 (Plenarprotokoll-Parser-Registry)
- Roadmap: ``docs/protokoll-parser-roadmap.md``
- Referenz-Implementation: ``app/protokoll_parsers/nrw.py``
(38 Tests, 19/19-Fixture-Garantie)
- Folge-Issue: https://repo.toppyr.de/tobias/gwoe-antragspruefer/issues/158 (Titel: "protokoll-parser: NI (Niedersachsen)")
## Aufwand
Geschaetzt 1-3 Tage konzentrierte Arbeit:
- 2-4h URL-Discovery + Format-Inspektion (Sample-Protokoll inhaltlich anschauen)
- 4-8h Anchor-Phrasen-Reverse-Engineering + Parser-Implementierung
- 4h Tests mit Fixture-Pinning
- 1h Eintrag in PROTOKOLL_PARSERS + auto-ingest-protocols.sh
"""
from __future__ import annotations
def parse_protocol(path: str) -> list[dict]:
"""STUB — siehe Modul-Docstring."""
raise NotImplementedError(
"NI-Plenarprotokoll-Parser ist noch nicht implementiert. "
"Siehe app/protokoll_parsers/ni.py-Docstring fuer Recherche-Findings "
"und docs/protokoll-parser-roadmap.md."
)