Age | Commit message (Collapse) | Author |
|
[Fix] Startpage
|
|
[remove] remove searchcode_doc and twitter
|
|
|
|
[fix] command engine: SearchQuery.query is str not bytes
|
|
check HTTP response:
* detect some comme CAPTCHA challenge (no solving). In this case the engine is suspended for long a time.
* otherwise raise HTTPError as before
the check is done in poolrequests.py (was before in search.py).
update qwant, wikipedia, wikidata to use raise_for_httperror instead of raise_for_status
|
|
Fix mojeek
|
|
[mod) genious: return valid results even if contents are empty
|
|
before commit 58d72f2, category was not set in xpath.py,
so searx/engines/__init__py was setting the category to ['general']
the commit 58d72f2 set the category to [] which is not replaced by searx/engines/__init__.py
consequence: the mojeek engine is hidden in the preferences.
this commit revert the xpath.py change.
close #2368
|
|
Closes #302
|
|
* twitter: the API has changed. the engine needs to rewritten.
* searchcode_doc: the API about documentation doesn't exist anymore.
|
|
|
|
[mod] duden engine
|
|
[remove] seedpeer engine
|
|
the website is offline.
|
|
[fix] youtube_noapi engine
|
|
[fix] soundclound: accept result without content
|
|
[fix] 1x engine
|
|
[fix] wikipedia: minor fix: return no result instead of crash in some very few cases.
|
|
|
|
|
|
few cases.
In few cases, the JSON results doesn't contains the key 'type'.
|
|
|
|
see c225db45c8a4ab466bff049216f7e0189dc1b067
|
|
* add params['soft_max_redirects'] = 1 (when there is spelling suggestion)
* avoid try..except
* use eval_xpath_* functions
|
|
[fix] duckduckgo_definitions: fix relative image URL
|
|
Remove HTTP connections as much as possible
|
|
ddg returns relative URL to https://duckduckgo.com/
|
|
[fix] wikipedia engine: don't raise an error when the query is not found
|
|
Add a new parameter "raise_for_status", set by default to True.
When True, any HTTP status code >= 300 raise an exception ( #2332 )
When False, the engine can manage the HTTP status code by itself.
|
|
least one URL.
|
|
|
|
|
|
Engine list: ahmia, duckduckgo_images, elasticsearch, google, google_images, google_videos, youtube_api
|
|
functions
|
|
remove unused function searx.utils.list_get
|
|
add an new API /stats/errors
|
|
- strip html tags and superfluous quotation marks from content
- remove not needed cookie from request
- remove superfluous imports
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Eliminate redundant file names which are tested by test.pylint and ignored by
test.pep8
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Error pattern::
Engines cannot retrieve results:
digg (unexpected crash time data '2020-10-16T14:09:55Z' does not match format '%Y-%m-%d %H:%M:%S')
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
|
|
get_str
|
|
This bug exists since the PR https://github.com/searx/searx/pull/751
|
|
recoll is a local search engine based on Xapian:
http://www.lesbonscomptes.com/recoll/
By itself recoll does not offer web or API access,
this can be achieved using recoll-webui:
https://framagit.org/medoc92/recollwebui.git
This engine uses a custom 'files' result template
set `base_url` to the location where recoll-webui can be reached
set `dl_prefix` to a location where the file hierarchy as indexed by recoll can be reached
set `search_dir` to the part of the indexed file hierarchy to be searched, use an empty string to search the entire search domain
|
|
Via https://photon.komoot.io/
|
|
credits go to @bauruine see https://github.com/searx/searx/pull/1958
|
|
Devian's request and response forms has been changed.
- fixed title
- fixed time_range_dict to 'popular-*-***'
- use image from <noscript> if exists
- drop obsolete "http to https, remove domain sharding"
- use query URL https://www.deviantart.com/search/deviations?page=5&q=foo
- add searx/engines/deviantart.py to pylint check (test.pylint)
Error pattern::
There DEBUG:searx:result: invalid title: {'url': 'https://www.deviantart.com/ ...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
use
from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url # NOQA
so it is possible to easily remove all unused import using autoflake:
autoflake --in-place --recursive --remove-all-unused-imports searx tests
|
|
New engine: Elasticsearch
|
|
[mod] pylint: add extension-pkg-whitelist=lxml.etree
|
|
|