diff --git a/latecomers/parse.py b/latecomers/parse.py index 2bce84b..15c27d3 100644 --- a/latecomers/parse.py +++ b/latecomers/parse.py @@ -20,6 +20,8 @@ logger = logging.getLogger(__name__) def not_empty(obj: et._Element) -> bool: if type(obj) is et._Element: + if "lfr-template" in obj.attrib.get("class"): + return False children = len(obj.xpath(".//td")) return children in (5, 6)