| Age | Commit message (Collapse) | Author |
|
[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
|
|
According to
https://github.com/searx/searx/blob/820b468bfe96f693d60ce06f1e78af51f00deefc/searx/engines/__init__.py#L87-L88
an engine can have no category at all.
Without this commit, searx raise an exception in searx/results.py
Note: in this case, the engine is not shown in the preferences.
|
|
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] libgen: update the URL to http://libgen.rs/
|
|
[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
|
|
https://libgen.is actually redirect to http://libgen.rs/
It seems there is no HTTPS version:
* https://www.wikidata.org/wiki/Q22017206
* https://librarygenesis.net/
|
|
[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.
|
|
|
|
|
|
|
|
typical use case: result_proxy can be defined in the user settings,
but are not defined the default settings.yml
|
|
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
|
|
bugfix & refactor digg engine
|
|
|
|
- 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
|
|
[enh] user settings can relied on the default settings
|
|
Credits go to @mrwormo (see PR #2308 )
|
|
Rely on javascript instead of type="clear"
Close #2009
|
|
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
|