mirror of
https://github.com/searxng/searxng.git
synced 2025-07-15 17:29:26 +02:00
[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>
This commit is contained in:
parent
858aa3e604
commit
e9afc4f8ce
4 changed files with 218 additions and 410 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue