Commit Graph

34 Commits (e839910f4c4b085463f1522b4191448935468b53)

Author SHA1 Message Date
Alexandre Flament d14994dc73 [httpx] replace searx.poolrequests by searx.network
settings.yml:

* outgoing.networks:
   * can contains network definition
   * propertiers: enable_http, verify, http2, max_connections, max_keepalive_connections,
     keepalive_expiry, local_addresses, support_ipv4, support_ipv6, proxies, max_redirects, retries
   * retries: 0 by default, number of times searx retries to send the HTTP request (using different IP & proxy each time)
   * local_addresses can be "192.168.0.1/24" (it supports IPv6)
   * support_ipv4 & support_ipv6: both True by default
     see https://github.com/searx/searx/pull/1034
* each engine can define a "network" section:
   * either a full network description
   * either reference an existing network

* all HTTP requests of engine use the same HTTP configuration (it was not the case before, see proxy configuration in master)
3 years ago
Alexandre Flament eaa694fb7d [enh] replace requests by httpx 3 years ago
Alexandre Flament 63f17d2e4c [enh] autocomplete refactoring, autocomplete on external bangs 3 years ago
Alexandre Flament 0226ae69d3 [fix] dbpedia autocomplete (and use HTTPS) 4 years ago
Alexandre Flament edd8dccd07 [mod] searx.query.RawTextQuery: getSearchQuery and changeSearchQuery rename to getQuery and changeQuery
getSearchQuery is confusing, the method returns a str not a SearchQuery object
4 years ago
Dalf 1022228d95 Drop Python 2 (1/n): remove unicode string and url_utils 4 years ago
piplongrun b136480546
Add Swisscows autocomplete option 4 years ago
Marc Abonce Seguin 40272b0044 [fix] never pass bangs to autocomplete suggestions 5 years ago
Adam Tauber 36af8f9d67 [fix] use py2/3 compatibility layer 7 years ago
Adam Tauber 52e615dede [enh] py3 compatibility 7 years ago
Adam Tauber 7b1daf254e [fix] autocomplete unicode issue - closes #808 8 years ago
marc 149802c569 [enh] add supported_languages on engines and auto-generate languages.py 8 years ago
a01200356 94cb3a7f11 [enh] multilingual autocomplete
implemented for wikipedia, qwant and google
8 years ago
Alexandre Flament 6ab91515df [enh] autocompletion : add qwant 8 years ago
Adam Tauber bd22e9a336 [fix] pep8 compatibilty 9 years ago
Adam Tauber 1fcf066a81 [mod] change settings file structure according to #314 9 years ago
Dalf 9d10277c22 remove 'print' 9 years ago
Cqoicebordel 633c7b6a5f Add startpage as an autocompleter engine 9 years ago
Adam Tauber 93fd1e4c76 Merge pull request #308 from dalf/versions_upgrade
update versions.cfg to use the current up-to-date packages
9 years ago
Alexandre Flament 4689fe341c update versions.cfg to use the current up-to-date packages 9 years ago
Alexandre Flament 78edc16e66 [enh] reduce the number of http outgoing connections.
engines that still use http : gigablast, bing image for thumbnails, 1x and dbpedia autocompleter
9 years ago
Adam Tauber 9d11b36b5b [fix] timeout to autocompleters 9 years ago
Adam Tauber 10891bdeab Merge pull request #192 from dalf/connection-pool
[enh] improve response time. close #100
10 years ago
dalf d07cfd9089 [enh] use one single http connection pool : improve response time. close #100 10 years ago
Cqoicebordel 4d0aeae567 Thanks @pointhi ! 10 years ago
Cqoicebordel bc2d5bf88c Add '?' bang to the autocompleter 10 years ago
Thomas Pointhuber c19b0899a4 [fix] little autocompleter fix 10 years ago
Thomas Pointhuber 4e2dae30f0 [enh] add autocompletion for searx-specific strings 10 years ago
Adam Tauber b422788eb4 [fix] wikipedia autocompleter url param 10 years ago
Thomas Pointhuber 53dc92b0d7 update comments in autocomplete.py
* update comments
* add licence-header
10 years ago
Adam Tauber cd3a52e189 [enh] duckduckgo autocomplete added 10 years ago
Adam Tauber d2f89f0446 [fix] wikipedia autocomplete error handling 10 years ago
Adam Tauber 8e2d996e27 [fix] autocomplete encoding 10 years ago
Adam Tauber fd730ebcad [fix] autocompleter.py added 10 years ago