summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-10-30 11:23:20 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2023-03-24 10:37:42 +0100
commite9afc4f8ce2df0b02a9b3d8664b66307255b056e (patch)
tree9fce95b81e75bd0b4ee6da998edc0dfa2a2b0ce8 /docs
parent858aa3e6043a5102aec1b05e94ef1d65059f8898 (diff)
downloadsearxng-e9afc4f8ce2df0b02a9b3d8664b66307255b056e.tar.gz
searxng-e9afc4f8ce2df0b02a9b3d8664b66307255b056e.zip
[mod] Startpage: reversed engineered & upgrade to data_type: traits_v1
One reason for the often seen CAPTCHA of the Startpage requests are the incomplete requests SearXNG sends to startpage.com: this patch is a complete new implementation of the ``request()`` function, reversed engineered from the Startpage's search form. The new implementation: - use traits of data_type: traits_v1 and drop deprecated data_type: supported_languages - adds time-range support - adds save-search support - fix searxng/searxng/issues 1884 - fix searxng/searxng/issues 1081 --> improvements to avoid CAPTCHA In preparation for more categories (News, Images, Videos ..) from Startpage, the variable ``startpage_categ`` was set up. The default value is ``web`` and other categories from Startpage are not yet implemented. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs')
-rw-r--r--docs/src/searx.engines.startpage.rst7
1 files changed, 1 insertions, 6 deletions
diff --git a/docs/src/searx.engines.startpage.rst b/docs/src/searx.engines.startpage.rst
index 23ec63837..c885d8f1b 100644
--- a/docs/src/searx.engines.startpage.rst
+++ b/docs/src/searx.engines.startpage.rst
@@ -10,9 +10,4 @@ Startpage engines
:backlinks: entry
.. automodule:: searx.engines.startpage
-
-Functions
-=========
-
-.. autofunction:: searx.engines.startpage.fetch_traits
-.. autofunction:: searx.engines.startpage.get_sc_code
+ :members: