diff options
Diffstat (limited to 'searxng_extra')
-rwxr-xr-x | searxng_extra/standalone_searx.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searxng_extra/standalone_searx.py b/searxng_extra/standalone_searx.py index 0a1e18846..d7964bd04 100755 --- a/searxng_extra/standalone_searx.py +++ b/searxng_extra/standalone_searx.py @@ -60,7 +60,7 @@ Example to run it from python: "infoboxes": [ {...} ], "paging": true, "results": [... ], - "results_number": 820000000.0, + "number_of_results": 820000000.0, "search": { "lang": "all", "pageno": 1, @@ -150,7 +150,7 @@ def to_dict(search_query: searx.search.SearchQuery) -> Dict[str, Any]: "suggestions": list(result_container.suggestions), "answers": list(result_container.answers), "paging": result_container.paging, - "results_number": result_container.results_number(), + "number_of_results": result_container.number_of_results, } return result_container_json |