From f510a5b94ba6e466323898cbd88874cf00f0159f Mon Sep 17 00:00:00 2001 From: Mr-Pine Date: Wed, 28 May 2025 16:53:42 +0200 Subject: [PATCH] Explain when ignoring elements --- PFERD/crawl/ilias/ilias_web_crawler.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PFERD/crawl/ilias/ilias_web_crawler.py b/PFERD/crawl/ilias/ilias_web_crawler.py index e7eadad..2eb8e9c 100644 --- a/PFERD/crawl/ilias/ilias_web_crawler.py +++ b/PFERD/crawl/ilias/ilias_web_crawler.py @@ -332,6 +332,10 @@ instance's greatest bottleneck. # This is symptomatic of no access to the element, for example, because # of time availability restrictions. if "cmdClass=ilInfoScreenGUI" in element.url and "cmd=showSummary" in element.url: + log.explain( + "Skipping element as url points to info screen, " + "this should only happen with not-yet-released elements" + ) return None if element.type in _VIDEO_ELEMENTS: