From 52f8a1fb67ef78f02cfedb22847d25dc838c49ad Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Tue, 2 Dec 2025 16:33:04 +0100 Subject: [PATCH] Crawl the info tab of courses again This got lost in a refactor --- CHANGELOG.md | 1 + PFERD/crawl/ilias/ilias_web_crawler.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e80f345..2a2848c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ ambiguous situations. ## Fixed - Event loop errors on Windows with Python 3.14 - Sanitize `/` in headings in kit-ipd crawler +- Crawl info tab again ## 3.8.3 - 2025-07-01 diff --git a/PFERD/crawl/ilias/ilias_web_crawler.py b/PFERD/crawl/ilias/ilias_web_crawler.py index fda9f6d..b5041b3 100644 --- a/PFERD/crawl/ilias/ilias_web_crawler.py +++ b/PFERD/crawl/ilias/ilias_web_crawler.py @@ -297,6 +297,8 @@ instance's greatest bottleneck. page = cast(IliasPage, page) elements.extend(page.get_child_elements()) + if current_element is None and (info_tab := page.get_info_tab()): + elements.append(info_tab) if description_string := page.get_description(): description.append(description_string)