improve no disclosure handling
This commit is contained in:
parent
5501f07cf7
commit
3787f756f3
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue