SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] tagesschau: parse error when there's no first sentence (#5959)
Bnyrofb68010f72cd
diff --git a/searx/engines/tagesschau.py b/searx/engines/tagesschau.pyindex 6571412a8..7669eeb19 100644--- a/searx/engines/tagesschau.py+++ b/searx/engines/tagesschau.py@@ -81,7 +81,7 @@ def _story(item):'title': item['title'],'thumbnail': item.get('teaserImage', {}).get('imageVariants', {}).get('16x9-256'),'publishedDate': datetime.strptime(item['date'][:19], '%Y-%m-%dT%H:%M:%S'),- 'content': item['firstSentence'],+ 'content': item.get('firstSentence'),'url': item['shareURL'] if use_source_url else item['detailsweb'],}