diff options
| author | Bnyro <bnyro@tutanota.com> | 2025-10-17 17:22:19 +0200 |
|---|---|---|
| committer | Bnyro <bnyro@tutanota.com> | 2025-10-18 14:43:35 +0200 |
| commit | 3725aef6f3de3f647643ce5bd0676cf95631b844 (patch) | |
| tree | 4b87e628a0c107ad6458702a537da2e15031e883 /docs/dev | |
| parent | e840e3f96025537edbcfa9a5c61a2a05934edfc7 (diff) | |
[fix] reuters: crash on empty results pages & date parsing
1. On empty result list, return empty EngineResults (#5330)
2. Use ``dateutil.parser`` to avoid ``ValueError``:
ERROR searx.engines.reuters : exception : Invalid isoformat string: '2022-06-08T16:07:54Z'
File "searx/engines/reuters.py", line 91, in response
publishedDate=datetime.fromisoformat(result["display_time"]),
ValueError: Invalid isoformat string: '2022-06-08T16:07:54Z'
Closes: https://github.com/searxng/searxng/issues/5330
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/dev')
0 files changed, 0 insertions, 0 deletions