improve no disclosure handling

This commit is contained in:
Marco Lents 2025-11-16 13:01:56 +01:00
parent 5501f07cf7
commit 3787f756f3

View file

@ -303,7 +303,11 @@ def get_disclosures(elem):
continue
if child.text.strip() == "":
continue
if child.text.strip() == "Keine veröffentlichungspflichtigen Angaben.":
continue
current_body.append(child.text.strip())
if current_heading == "" and current_body == []:
continue
out.append((current_heading, current_body))
return out