1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-04 20:30:11 +01:00
searxng/tests
Léo Bourrel 88261e111c Fix bing engine results count (#1387)
This PR fixes the result count from bing which was throwing an (hidden) error and add a validation to avoid reading more results than avalaible.

For example :
If there is 100 results from some search and we try to get results from 120 to 130, Bing will send back the results from 0 to 10 and no error. If we compare results count with the first parameter of the request we can avoid this "invalid" results.
2019-08-05 16:15:40 +02:00
..
robot [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
unit Fix bing engine results count (#1387) 2019-08-05 16:15:40 +02:00
__init__.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_robot.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00