diff --git a/CHANGELOG.md b/CHANGELOG.md index 8024bba..5206b20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ ambiguous situations. - Crawling of nested courses - Downloading of links with no target URL - Handle row flex on description pages +- Add `` heading to forum threads to fix mime type detection ## 3.6.0 - 2024-10-23 diff --git a/PFERD/crawl/ilias/ilias_web_crawler.py b/PFERD/crawl/ilias/ilias_web_crawler.py index a6c68f1..2fc399d 100644 --- a/PFERD/crawl/ilias/ilias_web_crawler.py +++ b/PFERD/crawl/ilias/ilias_web_crawler.py @@ -750,7 +750,8 @@ instance's greatest bottleneck. return async with maybe_dl as (bar, sink): - content = element.title_tag.prettify() + content = "\n" + content += element.title_tag.prettify() content += element.content_tag.prettify() sink.file.write(content.encode("utf-8")) sink.done()