revert: do not change the default

This commit is contained in:
Timothy J. Baek 2024-06-12 11:47:19 -07:00
parent 1fefafb254
commit c794d59fd5

View File

@ -37,7 +37,7 @@ def search_searxng(
""" """
# Default values for optional parameters are provided as empty strings or None when not specified. # Default values for optional parameters are provided as empty strings or None when not specified.
language = kwargs.get("language", "auto") language = kwargs.get("language", "en-US")
safesearch = kwargs.get("safesearch", "1") safesearch = kwargs.get("safesearch", "1")
time_range = kwargs.get("time_range", "") time_range = kwargs.get("time_range", "")
categories = "".join(kwargs.get("categories", [])) categories = "".join(kwargs.get("categories", []))