diff --git a/crawler.py b/crawler.py index ff05b46..5b70260 100644 --- a/crawler.py +++ b/crawler.py @@ -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