Markus Heiser
1ef5c03962
[fix] ddg engine: IndexError exception is raised on empty contend ( #4843 )
...
Sometimes (e.g. when ddg does not have a result item) there is no content and
the engine will fail with an IndexError:
* Error: IndexError
* Percentage: 10
* Parameters: `()`
* File name: `searx/engines/duckduckgo.py:375`
* Function: `response`
* Code: `item["content"] = extract_text(eval_xpath(div_result, './/a[contains(@class, "result__snippet")]')[0])`
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-05-23 14:55:22 +02:00
..
2025-05-20 21:03:54 +02:00
2025-05-20 21:03:54 +02:00
2025-05-22 16:23:30 +02:00
2025-05-20 21:03:54 +02:00
2025-05-23 14:55:22 +02:00
2025-05-20 21:03:54 +02:00
2025-01-28 07:07:08 +01:00
2024-11-25 16:57:03 +01:00
2025-05-20 18:18:07 +02:00
2025-05-20 21:03:54 +02:00
2025-04-17 10:24:05 +02:00
2025-04-22 14:26:11 +02:00
2025-05-22 15:16:54 +02:00
2025-05-22 15:16:54 +02:00
2025-05-16 09:40:45 +02:00
2025-04-22 14:26:11 +02:00
2025-05-21 18:25:02 +02:00
2024-03-11 14:55:38 +01:00
2025-05-20 21:03:54 +02:00
2024-10-05 08:18:28 +02:00
2024-10-19 14:55:44 +02:00
2025-05-20 21:03:54 +02:00
2024-03-11 14:55:38 +01:00
2024-03-11 14:55:38 +01:00
2024-03-11 14:55:38 +01:00
2025-05-04 02:07:26 +02:00
2024-11-24 12:41:57 +01:00
2025-01-28 07:07:08 +01:00
2025-05-20 21:03:54 +02:00
2025-03-29 10:16:43 +01:00
2025-04-24 10:40:18 +02:00
2024-03-11 14:55:38 +01:00
2024-03-11 14:55:38 +01:00
2025-03-15 10:36:33 +01:00
2025-01-06 17:12:16 +01:00
2025-05-13 10:37:02 +02:00
2024-07-14 18:10:06 +02:00
2025-05-21 18:25:02 +02:00
2025-05-20 21:03:54 +02:00
2025-04-23 14:06:32 +02:00
2024-03-11 14:55:38 +01:00
2025-05-21 18:25:02 +02:00
2025-05-11 18:12:51 +02:00
2024-11-24 12:41:57 +01:00
2025-05-13 10:37:02 +02:00
2025-04-22 14:26:11 +02:00