From 712217e95962a383ee95c58fd85c61980ef1fc14 Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Mon, 11 Nov 2024 12:52:55 +0100 Subject: [PATCH] Handle groups in cards --- CHANGELOG.md | 1 + PFERD/crawl/ilias/kit_ilias_html.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5206b20..095442d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ ambiguous situations. - Downloading of links with no target URL - Handle row flex on description pages - Add `` heading to forum threads to fix mime type detection +- Handle groups in cards ## 3.6.0 - 2024-10-23 diff --git a/PFERD/crawl/ilias/kit_ilias_html.py b/PFERD/crawl/ilias/kit_ilias_html.py index e0c87ad..57c81e5 100644 --- a/PFERD/crawl/ilias/kit_ilias_html.py +++ b/PFERD/crawl/ilias/kit_ilias_html.py @@ -998,6 +998,8 @@ class IliasPage: return IliasElementType.OPENCAST_VIDEO_FOLDER_MAYBE_PAGINATED if "exc" in icon["class"]: return IliasElementType.EXERCISE + if "grp" in icon["class"]: + return IliasElementType.FOLDER if "webr" in icon["class"]: return IliasElementType.LINK if "book" in icon["class"]: