feat(images): auto-select relevant article images and tidy detail header

This commit is contained in:
Oliver 2026-02-18 10:40:39 +01:00
parent fb3465fb10
commit 26e3d26b93
4 changed files with 115 additions and 13 deletions

View file

@ -85,6 +85,7 @@ class TestIngestion(unittest.TestCase):
self.assertEqual(article["author"], "Autorin A")
self.assertIn("Original Volltext", article["content_raw"] or "")
self.assertIn("Pressekontakt", article["meta_json"] or "")
self.assertIsNotNone(article["image_urls_json"])
@patch("backend.app.ingestion.extract_article")
@patch("backend.app.ingestion.feedparser.parse")