Ahmad Alkadri 7fc8d72889 [fix] bing: parsing result; check to see if the element contains links
This patch is to hardening the parsing of the bing response:

1. To fix [2087] check if the selected result item contains a link, otherwise
   skip result item and continue in the result loop.  Increment the result
   pointer when a result has been added / the enumerate that counts for skipped
   items is no longer valid when result items are skipped.

   To test the bugfix use:   ``!bi :all cerbot``

2. Limit the XPath selection of result items to direct children nodes (list
   items ``li``) of the ordered list (``ol``).

   To test the selector use: ``!bi :en pontiac aztek wiki``

   .. in the result list you should find the wikipedia entry on top,
   compare [2068]

[2087] https://github.com/searxng/searxng/issues/2087
[2068] https://github.com/searxng/searxng/issues/2068
2023-01-09 15:08:24 +01:00
..
2022-01-05 11:00:11 +01:00
2022-01-05 11:00:11 +01:00
2022-09-23 20:45:58 +02:00
2022-08-10 09:14:36 +02:00
2021-12-27 10:16:20 +01:00
2021-01-14 20:57:17 +01:00
2022-01-05 11:00:11 +01:00
2022-01-05 11:00:11 +01:00
2022-01-05 11:00:11 +01:00
2022-11-11 07:39:48 +00:00
2022-01-28 22:33:41 +01:00
2022-07-04 19:06:45 +02:00
2022-11-07 08:07:06 -06:00
2022-07-30 18:04:44 +02:00
2022-07-30 18:04:44 +02:00
2022-07-30 18:04:44 +02:00
2022-09-23 20:45:58 +02:00
2022-08-14 10:36:14 +02:00
2022-01-02 21:18:29 +01:00
2022-01-05 11:00:11 +01:00
2022-10-14 18:27:53 +00:00
2022-08-17 19:45:42 +07:00
2022-08-31 18:29:50 +07:00
2022-01-30 19:48:40 +01:00
2021-12-27 10:16:20 +01:00
2022-04-22 16:09:36 +02:00
2022-07-05 22:27:55 +02:00