Alexandre Flament
4ec810749b
[fix] 1x engine
4 years ago
Alexandre Flament
1e781863fa
[fix] command engine: SearchQuery.query is str not bytes
...
see c225db45c8
4 years ago
Alexandre Flament
9bf594cbcf
[mod] duden engine
...
* add params['soft_max_redirects'] = 1 (when there is spelling suggestion)
* avoid try..except
* use eval_xpath_* functions
4 years ago
Alexandre Flament
b3032cf953
[mod] libgen: update the URL to http://libgen.rs/
...
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/
4 years ago
Alexandre Flament
a458451d20
Merge pull request #2356 from dalf/fix-ddd
...
[fix] duckduckgo_definitions: fix relative image URL
4 years ago
Alexandre Flament
925bb561a2
Merge pull request #2352 from dalf/no_http
...
Remove HTTP connections as much as possible
4 years ago
Alexandre Flament
28cc644f0a
[fix] duckduckgo_definitions: fix relative image URL
...
ddg returns relative URL to https://duckduckgo.com/
4 years ago
Alexandre Flament
cdceec1cbb
Merge pull request #2354 from dalf/fix-wikipedia
...
[fix] wikipedia engine: don't raise an error when the query is not found
4 years ago
Alexandre Flament
f0054d67f1
[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.
4 years ago
Alexandre Flament
d9494283cc
Merge pull request #2353 from dalf/fix-wikidata
...
[fix] wikidata: fix crash when the item has no description at all and…
4 years ago
Alexandre Flament
bef2f2efa8
[fix] wikidata: fix crash when the item has no description at all and at least one URL.
4 years ago
Alexandre Flament
38d32337e7
[mod] documentations & comments: update http://* URL to https://*.
...
About http://lesscss.org see https://github.com/less/less-docs/issues/520
4 years ago
Alexandre Flament
244e812f37
[fix] remove searx/engines/filecrop.py (dead code)
4 years ago
Alexandre Flament
0226ae69d3
[fix] dbpedia autocomplete (and use HTTPS)
4 years ago
Alexandre Flament
f56e78ee80
Merge pull request #2338 from unixfox/issue-template
...
add new issue template
4 years ago
Emilien Devos
741c31fa06
add new issue template
4 years ago
Alexandre Flament
cec73b5dcf
Merge pull request #2350 from dalf/mod-engines-report-captcha
...
[mod] stackoverflow & yandex: detect CAPTCHA response
4 years ago
Alexandre Flament
fa909c7c02
[mod] stackoverflow & yandex: detect CAPTCHA response
4 years ago
Alexandre Flament
7905d41487
Merge pull request #2349 from dalf/fix-settings-loader
...
[fix] settings_loader: don't crash when a key exists only in the user settings
4 years ago
Alexandre Flament
d0d7a3e1c2
[fix] settings_loader: don't crash when a key exists only in the user settings
...
typical use case: result_proxy can be defined in the user settings,
but are not defined the default settings.yml
4 years ago
Alexandre Flament
89fbb85d45
Merge pull request #2332 from dalf/metrology-errors
...
[enh] record exception details per engine
4 years ago
Alexandre Flament
64cccae99e
[mod] various engines: use eval_xpath* functions and searx.exceptions.*
...
Engine list: ahmia, duckduckgo_images, elasticsearch, google, google_images, google_videos, youtube_api
4 years ago
Alexandre Flament
ad72803ed9
[mod] xpath, 1337x, acgsou, apkmirror, archlinux, arxiv: use eval_xpath_* functions
4 years ago
Alexandre Flament
de887c6347
[mod] bing_news: use eval_xpath_getindex
...
remove unused function searx.utils.list_get
4 years ago
Alexandre Flament
1d0c368746
[enh] record details exception per engine
...
add an new API /stats/errors
4 years ago
Alexandre Flament
6b5a578822
Merge pull request #2285 from return42/fix-digg
...
bugfix & refactor digg engine
4 years ago
Émilien Devos
35a76d9116
Merge pull request #2348 from mrwormo/master
...
Disable Invidious engine by default
4 years ago
mrwormo
2b153db74c
Disable Invidious engine by default
4 years ago
Markus Heiser
bef185723a
[refactor] digg - improve results and clean up source code
...
- 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>
4 years ago
Markus Heiser
6b0a896f01
[mod] digg - pylint searx/engines/digg.py
...
Eliminate redundant file names which are tested by test.pylint and ignored by
test.pep8
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
173b744ef0
[fix] digg - the ISO time stamp of published date has been changed
...
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>
4 years ago
Alexandre Flament
219af243a2
Merge pull request #2318 from dalf/add-pylint
...
Add pylint
4 years ago
Alexandre Flament
8aa2a7556a
[enh] activate pylint
...
There are 3 invocations:
* one with the default .pylintrc file
* one for searx/engines with some disabled checks and some additional-builtins
* one for the all the code except the engines with some disabled checks
4 years ago
Alexandre Flament
b00d108673
[mod] pylint: numerous minor code fixes
4 years ago
Alexandre Flament
9ed3ee2beb
[mod] wikidata: WDGeoAttribute class: doesn't change the method signature of get_str
4 years ago
Alexandre Flament
3cfef61123
[fix] /stats: report error percentage instead of error count
...
This bug exists since the PR https://github.com/searx/searx/pull/751
4 years ago
Alexandre Flament
b7f1a8424a
[fix] tests: fix duplicate method name
4 years ago
Alexandre Flament
a302ac5629
[mod] remove dead code
4 years ago
Alexandre Flament
a1e6bc4cee
Merge pull request #2291 from dalf/settings2
...
[enh] user settings can relied on the default settings
4 years ago
Alexandre Flament
0e02fee930
Merge pull request #2345 from dalf/mod-oscar
...
[mod] oscar theme: added option into gruntfile.js for generate sourceMap
4 years ago
Alexandre Flament
f1e016e9ea
[mod] oscar theme: added option into gruntfile.js for generate sourceMap
...
Credits go to @mrwormo (see PR #2308 )
4 years ago
GazoilKerozen
1b700738eb
[fix] fix the reset button in the oscar theme ( #2306 )
...
Rely on javascript instead of type="clear"
Close #2009
4 years ago
Noémi Ványi
4a36a3044d
Add recoll engine ( #2325 )
...
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
4 years ago
Alexandre Flament
93c2603561
Merge pull request #2336 from efectn/patch-1
...
Photon API Link Update
4 years ago
Alexandre Flament
b4b81a5e1a
[enh] settings.yml: add use_default_settings option (2nd version)
4 years ago
M. Efe Çetin
d1f527c3af
Photon API Link Update
...
Via https://photon.komoot.io/
4 years ago
Alexandre Flament
1cfe7f2a75
[enh] settings.yml: add use_default_settings option
...
This change is backward compatible with the existing configurations.
If a settings.yml loaded from an user defined location (SEARX_SETTINGS_PATH or /etc/searx/settings.yml),
then this settings can relied on the default settings.yml with this option:
user_default_settings:True
4 years ago
Alexandre Flament
6ada5bac60
Merge pull request #2327 from renyhp/master
...
Add preference for displaying advanced settings
4 years ago
renyhp
0323606691
Remove unused lines
4 years ago
renyhp
844ae0b310
Fix syntax error
4 years ago