From 8fc549574fb30bba47ea6011e1475ceffbbc977b Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 1 Mar 2026 09:59:07 +0100 Subject: [PATCH] [doc] fix minor issues in the DDG engine's doc-strings Signed-off-by: Markus Heiser --- searx/engines/duckduckgo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py index b73fc5044..8b675751f 100644 --- a/searx/engines/duckduckgo.py +++ b/searx/engines/duckduckgo.py @@ -24,7 +24,8 @@ DDG's content search / see engine ``duckduckgo_extra.py`` Special features of the no-JS services (DDG-lite & DDG-html): - The no-JS clients receive a form that contains all the controlling parameters. -- When the form data is submitted, a real WEB browser sets the HTTP _Sec-Fetch_ headers. +- When the form data is submitted, a real WEB browser sets the HTTP *Sec-Fetch* + headers. HTML ``
``, HTTP-Headers & DDG's bot Blocker: @@ -238,7 +239,7 @@ def get_vqd( query: str, params: "OnlineParams", ) -> str: - """Returns the vqd_ vakue that fits to the *query* (and HTTP User-Agent_ + """Returns the ``vqd`` value that fits to the *query* (and HTTP User-Agent_ header). :param query: the query term