From edc482cdf487e4a3bcf93e2dad7d69cbd3f32974 Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Wed, 19 Feb 2025 14:45:18 +0100 Subject: [PATCH] Internalize images in forum threads --- PFERD/crawl/ilias/ilias_web_crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PFERD/crawl/ilias/ilias_web_crawler.py b/PFERD/crawl/ilias/ilias_web_crawler.py index bc90991..76cbe6b 100644 --- a/PFERD/crawl/ilias/ilias_web_crawler.py +++ b/PFERD/crawl/ilias/ilias_web_crawler.py @@ -789,7 +789,7 @@ instance's greatest bottleneck. rendered = forum_thread_template( element.name, element.name_tag, - element.content_tag + await self.internalize_images(element.content_tag) ) sink.file.write(rendered.encode("utf-8")) sink.done()