Skip to content

Commit

Permalink
Removed unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioNar committed Dec 27, 2024
1 parent 6223fc9 commit b2ef149
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tulit/parsers/akomantoso.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,6 @@ def get_articles(self) -> None:
# Get the title text
article_title_text = article_title_element.text if article_title_element is not None else None

# So I need to find another parsing strategy as the non-normative nature of Akoma Ntoso makes it more complicated to parse it.
# This function first finds all of the p tags
# Then Identifies the closest parent of the p tag containing an attribute eId
# Then it concatenates p tags based on common eIds
# And finally creates a list of dictionaries composed by the eId and the text of each element
article_text = self.get_text_by_eId(article)

# Append the article data to the articles list
Expand Down

0 comments on commit b2ef149

Please sign in to comment.