Commit Graph

4798 Commits

Author SHA1 Message Date
Émilien (perso) b6e3cf6ced wikipedia wikidata infobox + disable wikisource (#2806)
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:03:21 +02:00
Bnyro b21f8a6751 [feat] implement feeling lucky feature 2023-10-19 18:03:21 +02:00
Markus Heiser 31aa1c7c33 [build] /static 2023-10-19 18:03:21 +02:00
Jinyuan Huang 208e458b32 [mod] reformatted keyBindingLayouts in JS client (default, vim) 2023-10-19 18:03:08 +02:00
Markus Heiser cf985811c1 [mod] preferences: implement drop-down menu for hotkeys (default, vim)
Replace the on/off checkbox of the vim-hotkeys in the preferences by a drop-down
menu.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:03:08 +02:00
Markus Heiser 2757f60dac [build] /static 2023-10-19 18:03:08 +02:00
Bnyro e26c7dab4d [feat] search on category select without JS
Co-authored-by: Alexandre Flament <alex@al-f.net>
2023-10-19 18:02:46 +02:00
Bnyro 5c402923f8 [feat] engine: implementation of internet archive scholar 2023-10-19 18:02:23 +02:00
jazzzooo b6316020f7 [fix] spelling 2023-10-19 18:02:05 +02:00
Markus Heiser ad518f41f6 [fix] engine - qwant delivers only 5 pages maximum
all qwant engines (incl qwant-lite) delivers only 5 pages maximum

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:02:05 +02:00
jazzzooo 743515e68a [fix] engine - qwant wrong error type 2023-10-19 18:02:05 +02:00
Markus Heiser 346e0b1b2e [fix] qwant: subsequent fix of commit d9dbcedeb
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:02:05 +02:00
Markus Heiser 2e16b43f68 [feat] implementation of qwant lite for web search
Related: https://github.com/searxng/searxng/issues/2719
Replace: https://github.com/searxng/searxng/pull/2748
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-19 18:02:05 +02:00
Bnyro bc4dac4624 [feat] engine: implemenation of moviepilot (de) 2023-10-19 18:02:05 +02:00
jazzzooo 6c30e0b5cc [fix] tagesschau videos 2023-10-19 18:02:05 +02:00
Markus Heiser 72e8dc1e91 [build] /static 2023-10-19 18:02:05 +02:00
Jinyuan Huang 3bd3aa325e [fix] keyboard navigation / simple theme (UI)
- avoid loop select
- fix select next item in mixed result lists

Replaces: https://github.com/searxng/searxng/pull/2789
Closes: https://github.com/searxng/searxng/issues/2751
Closes: https://github.com/searxng/searxng/issues/2788
2023-10-19 18:01:36 +02:00
jazzzooo 38966b1bbe [fix] brave.videos 2023-10-19 18:01:36 +02:00
jazzzooo b11d3b73d6 [fix] brave.news 2023-10-19 18:01:36 +02:00
Bnyro 5e2b0b3ee0 [feat] implementation of the movie database 2023-10-19 18:01:36 +02:00
searxng-bot b41dd38e8a [translations] update from Weblate
4f055ccb8 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
9edaacb09 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
ccb3e8934 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
206640415 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
d8db608c2 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
6db95be68 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
0792cd970 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
949ad5db8 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
0921f948e - 2023-09-11 - return42 <markus.heiser@darmarit.de>
3677f0ccb - 2023-09-11 - return42 <markus.heiser@darmarit.de>
2dea9cd3a - 2023-09-11 - return42 <markus.heiser@darmarit.de>
5038588e8 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
6b63e980b - 2023-09-11 - return42 <markus.heiser@darmarit.de>
858a8660b - 2023-09-11 - return42 <markus.heiser@darmarit.de>
5852633d2 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
92d25097b - 2023-09-11 - return42 <markus.heiser@darmarit.de>
8ae9d7a20 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
989ccd21a - 2023-09-11 - return42 <markus.heiser@darmarit.de>
1c309f3fc - 2023-09-11 - return42 <markus.heiser@darmarit.de>
3ee5e679e - 2023-09-11 - return42 <markus.heiser@darmarit.de>
7420db0cf - 2023-09-11 - return42 <markus.heiser@darmarit.de>
7327ffb1f - 2023-09-11 - return42 <markus.heiser@darmarit.de>
542814e22 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
5f2623600 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
7bea3da45 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
68a854d93 - 2023-09-11 - ghose <correo@xmgz.eu>
1781efe60 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
016a60442 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
00f143119 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
8e61bb7ac - 2023-09-11 - return42 <markus.heiser@darmarit.de>
d04327a41 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
841227415 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
9ed21b385 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
914b774da - 2023-09-11 - return42 <markus.heiser@darmarit.de>
ff7b45ec8 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
4146f8707 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
383602051 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
b050d9ee4 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
8d6e7a20c - 2023-09-11 - return42 <markus.heiser@darmarit.de>
ee77e2072 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
0420f44b6 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
2023-10-19 18:01:36 +02:00
Justas Zabulionis 805e524d4a [fix] rumble redirect 2023-10-19 18:01:36 +02:00
Justas Zabulionis 7be0ea68c8 [fix] habrahabr 2023-10-19 18:01:36 +02:00
Justas Zabulionis 35b7bee5af [fix] pubmed content being None 2023-10-19 18:01:36 +02:00
Justas Zabulionis caa107f011 [fix] engine - pub.dev 2023-10-19 18:01:36 +02:00
Justas Zabulionis d802222c6c [fix] solidtorrents redirects 2023-10-19 18:01:36 +02:00
Justas Zabulionis 4ab004e7f1 [fix] solidtorrents pagination 2023-10-19 18:01:36 +02:00
Justas Zabulionis 9629022768 [fix] solidtorrents 2023-10-19 18:01:36 +02:00
jazzzooo f1c61921f7 [fix] engine - Crossref
Crossref was broken on result types journal-issue and component .. The old code
had lots of assumptions, and broke during parsing.  Now the assumptions are more
explicit and checked them with the API.
2023-10-19 18:01:36 +02:00
Jinyuan Huang 73fd5b6ab6 [mod] UI smooth scroll added / CSS scroll-behavior
This PR improves the UX by making auto-scroll more smoother.  The css is changed
so all the auto-scroll will be smoother but User-scroll will not be influenced.

  The scroll-behavior CSS property sets the behavior for a scrolling box when
  scrolling is triggered by the navigation or CSSOM scrolling APIs.[1]

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior
2023-10-19 18:01:18 +02:00
Bnyro 9ee395cec4 [mod] make data.traits: add Odysee 2023-10-19 18:01:18 +02:00
Bnyro 750b84410d [feat] odysee: implement fetch_traits for language support 2023-10-19 18:01:18 +02:00
Bnyro d07878aaea [mod] odysee: time range support 2023-10-19 18:01:18 +02:00
jazzzooo 1dd0c0c8fb [fix] engine - piped.music incorrect timestamps 2023-10-19 18:01:18 +02:00
MatthieuBarbu bdd3c3deea rebrand
add zaclys menu
adjust style
2023-09-13 16:03:59 +02:00
jazzzooo 36dc0cc1e7 [fix] engine - invidious thumbnails 2023-09-13 16:03:12 +02:00
jazzzooo 2630d9f7f7 add inv.tux.pizza 2023-09-13 16:03:12 +02:00
jazzzooo 99f5a0e2a6 remove invidious.snopyta.org 2023-09-13 16:03:12 +02:00
jazzzooo 0c445bd51d [fix] settings.yml - change default invidious instances 2023-09-13 16:03:12 +02:00
jazzzooo c617961cb5 [fix] engine - openstreetmap currency rendering 2023-09-13 16:03:12 +02:00
jazzzooo a9d1119b8d [fix] engine - pypi redirect 2023-09-13 16:03:12 +02:00
jazzzooo ff55fda6aa [fix] engine - openstreetmap currency matching 2023-09-13 16:03:12 +02:00
Bnyro 82c2c2aa77 [feat] new engine: svgrepo 2023-09-13 16:03:12 +02:00
Markus Heiser 27df993c4c [build] /static 2023-09-13 16:03:12 +02:00
Markus Heiser 396c088c50 [mod] improve handling of the hotkeys
- KeyboardEvent: keyCode property is depricated, replaced by key property [2]

- the check for ifDetailOpened is not necessary, because the hotkeys are not
  only applicable to image-results, by example:

   `!goi !go !scc hello`

- Key bindings like h for help are to be used in general (not only in vim-mode)

[1] https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
[2] https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-13 16:03:12 +02:00
Jinyuan Huang ba7659dd1d [feature] key bindings: left & right arrow are always on 2023-09-13 16:03:12 +02:00
jazzzooo 25ba076395 [fix] engine - brave 2023-09-13 16:03:12 +02:00
Bnyro 514e48f44a [mod] library of congress: fix engine 2023-09-13 16:03:12 +02:00
Bnyro 7b396ccb7b [fix] engine deviantart: review of the result-scrapper
The deviantart site changed and hence deviantart is currently unusable.
2023-09-13 16:03:12 +02:00
Markus Heiser 00a98865b6 [feature] dark theme for code highlighter in the result list
Closes: https://github.com/searxng/searxng/issues/1354

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-13 16:02:53 +02:00
Markus Heiser dfbc752357 [build] /static 2023-09-13 16:02:04 +02:00
MatthieuBarbu 634c56d171 fix again 2023-09-10 17:07:27 +02:00
MatthieuBarbu 1211d566b9 fix top value for detail image on mobile 2023-09-10 17:02:23 +02:00
MatthieuBarbu 23cb7713b8 fix detail image for mobile 2023-09-10 16:55:31 +02:00
MatthieuBarbu 354e0cdfe0 fix detail buttons (prev next close) 2023-09-10 16:45:22 +02:00
MatthieuBarbu e71b540e2f build new theme 2023-09-10 16:37:40 +02:00
Alexandre Flament d4db69b69b Replace chompjs with pure Python code
The new implementation is good enough for the current usage (brave)
2023-09-10 16:23:28 +02:00
Markus Heiser 33065a619e [fix] preferences - layout of the "special queries" tab
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-10 16:22:50 +02:00
Bnyro 55d523c8db [feat] engine: implementation of Yummly
Co-authored-by: Markus Heiser <markus.heiser@damarit.de>
2023-09-10 16:22:50 +02:00
Bnyro 8a39b8a12d [mod] utils.py: add markdown_to_text helper function 2023-09-10 16:22:50 +02:00
searxng-bot 58f8efb307 [translations] update from Weblate
304f6af5c - 2023-09-04 - return42 <markus.heiser@darmarit.de>
76a4b6496 - 2023-09-03 - alexgabi <alexgabi@disroot.org>
2023-09-10 16:22:50 +02:00
Markus Heiser 3f0305da59 [fix] settings.yml - fix docs-links in the comments
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-10 16:22:50 +02:00
Hackurei 18f76a134c [feat] engine: implementation of bilibili https://www.bilibili.com 2023-09-10 16:22:50 +02:00
Markus Heiser a1f8c4c2b6 [fix] engine - duckduckgo_images / determination of vqd value incorrect
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-10 16:22:50 +02:00
bonswouar 76c0784a22 [fix] engine duckduckgo weather api changes 2023-09-10 16:22:50 +02:00
Markus Heiser a3c31a97ef [build] /static 2023-09-10 16:22:50 +02:00
MatthieuBarbu 828f600e71 fix detail img 2023-09-10 16:20:48 +02:00
MatthieuBarbu 2e5e5be7d9 debug style for mobile
+ build
2023-09-05 09:45:44 +02:00
MatthieuBarbu 87d3112265 fix bug on menu script
+ ajust top of result page on mobile
+ build
2023-09-04 17:49:32 +02:00
Markus Heiser 17048c5137 [fix] engine: wikicommons - don't quoute ':|' in URL parameters
From [1]: It seems to be because of [2] For some reason it gets url encoded
twice, resulting in

- ``filetype%253Abitmap%257Cdrawing+birds`` instead of
- ``filetype:bitmap%7Cdrawing+birds``

[1] https://github.com/searxng/searxng/issues/2707
[2] https://github.com/searxng/searxng/blob/master/searx/engines/wikicommons.py#L43

Closes: #2707
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-04 17:25:30 +02:00
Markus Heiser 4b3c985064 [fix] follow-up of 4da7003ae / add missing review from @Bnyro
[1] https://github.com/searxng/searxng/pull/2656#pullrequestreview-1607956209

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-04 17:25:30 +02:00
Hackurei 9f2e0b276b [feat] engine: implementation of odysee 2023-09-04 17:25:30 +02:00
Bnyro 8e0fae9dc4 [feat] implementation of Wikimedia commons for images 2023-09-04 17:25:30 +02:00
searxng-bot 5dd289ccad [translations] update from Weblate
979909acc - 2023-09-01 - return42 <markus.heiser@darmarit.de>
f40af3403 - 2023-08-28 - return42 <markus.heiser@darmarit.de>
2023-09-04 17:25:30 +02:00
Jafar Farganlooj d053ac5397 Create search-syntax.md fa 2023-09-04 17:25:30 +02:00
Jafar Farganlooj bbf23ef88c [mod] Persian translation of the about page (fa_IR) 2023-09-04 17:25:30 +02:00
Alexandre Flament 21ba135aae [mod] bing: resolve redirect without additional requests
Remove the usage of searx.network.multi_requests
The results from Bing contains the target URL encoded in base64
See the u parameter, remove the first two character "a1", and done.

Also add a comment the check of the result_len / pageno
( from https://github.com/searx/searx/pull/1387 )
2023-09-04 17:25:30 +02:00
dalf f59c72f703 Update searx.data - update_firefox_version.py 2023-09-04 17:25:30 +02:00
dalf 32997c1e89 Update searx.data - update_ahmia_blacklist.py 2023-09-04 17:25:30 +02:00
dalf 59921b3969 Update searx.data - update_currencies.py 2023-09-04 17:25:30 +02:00
dalf 0495263970 Update searx.data - update_engine_descriptions.py 2023-09-04 17:25:30 +02:00
dalf 3929ff941c Update searx.data - update_wikidata_units.py 2023-09-04 17:25:30 +02:00
Markus Heiser cb07e8966e [fix] reduce error logs related to X-Forwarded-For & X-Real-IP headers
To test start a `make run` instance and query multiple times for `ip` (the
answerer), you should see only once the error message(s):

    ERROR   searx.botdetection            : X-Forwarded-For header is not set!
    ERROR   searx.botdetection            : X-Real-IP header is not set!

[1] https://github.com/searxng/searxng-docker/discussions/174
[2] https://github.com/searxng/searxng-docker/pull/162#issuecomment-1692834457

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-04 17:25:30 +02:00
Markus Heiser 97b326a0e3 [build] /static 2023-09-04 17:25:30 +02:00
MatthieuBarbu 45ef7ef25e add rebuild theme 2023-08-28 10:28:48 +02:00
Bnyro 82b6bdd708 [mod] preferences.py: add and use BooleanSetting for checkbox preferences 2023-08-28 10:25:44 +02:00
Bnyro d12e02b1da [feat] settings: replace boolean select preferences with checkboxes 2023-08-28 10:25:44 +02:00
Bnyro f18da4de17 [mod] random answerer: add random hex color generator 2023-08-28 10:25:44 +02:00
Markus Heiser 4016ee8842 [doc] add documentation of Mwmbl engine & autocompleter
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-28 10:25:44 +02:00
Bnyro 607be42b17 [mod] autocomplete.py: add support for mwmbl completions 2023-08-28 10:25:44 +02:00
Bnyro bd96f7f792 [mod] engine mwmbl: add link to official api docs 2023-08-28 10:25:44 +02:00
Alexandre Flament 89fe1c6c1a [mod] searx.network: memory optimization
Avoid to create a SSLContext in AsyncHTTPTransportNoHttp

See:
* 0f61aa58d6/httpx/_transports/default.py (L271)
* https://github.com/encode/httpx/issues/2298
2023-08-28 10:25:44 +02:00
Alexandre Flament 159b7c30fe [fix] openstreetmap engine
It seems there is an API change:
extratags can be either a dictionnary or None.

This commit avoid crash when extratags is None

Test query "!osm gare du nord"
2023-08-28 10:25:44 +02:00
Markus Heiser 4c4ee13196 [fix] google engine: don't overspecify the search query to Google
The method EngineTraits.get_region(..) returns engine's region string
that **best fits** to SearXNG's locale.  This means it returns a
region (country) if only a language is set in the locale.  By example the method
returns for a locale tag `es` a region `ES`.

Google's search parameter `cr` restricts search results to documents originating
in a particular country / in case of a locale tag (language) as described above,
this argument should be unset in the query send to Google.

Closes: https://github.com/searxng/searxng/issues/2672
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-28 10:25:44 +02:00
searxng-bot 7ab3385558 [translations] update from Weblate
a6c2d1988 - 2023-08-22 - shoko <nickskorohod@outlook.com>
38bc33a71 - 2023-08-20 - return42 <markus.heiser@darmarit.de>
0ff21aa3c - 2023-08-19 - MonsoonFire <re1qnb5mq@mozmail.com>
2023-08-28 10:25:44 +02:00
Alexandre Flament 3ea3ade01b Bump httpx 0.21.2 from to 0.24.1 2023-08-28 10:25:44 +02:00
Markus Heiser 80b6001ed2 [fix] engine google_video: google has changed the layout of the rsponse
Closes: https://github.com/searxng/searxng/issues/2664
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-28 10:25:44 +02:00
Markus Heiser b283dedf39 [mod] decrease the weighting of wikivoyage, wikibooks, wikisource and wikiversity
The search engines deliver hits for many search terms [1], but these are usually
not the focus of the user. In order to arrange these hits further down in the
list, their weighting is reduced.

[1] https://github.com/searxng/searxng/pull/2589#issuecomment-1670915089

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-28 10:25:44 +02:00
PlayDay 355a88d031 [feat] engine: XPath configuration for pkg.go.dev 2023-08-28 10:25:44 +02:00
Bnyro 8225257e69 [feat] engine: implementation of mwmbl 2023-08-28 10:25:44 +02:00
searxng-bot e0fa5d3a2d [translations] update from Weblate
d8e4100b6 - 2023-08-16 - return42 <markus.heiser@darmarit.de>
b8e03f3bc - 2023-08-17 - ghose <correo@xmgz.eu>
2023-08-28 10:25:44 +02:00
Markus Heiser 8ef0b60ef9 [mod] currency_convert: support for showing the answer source url
Show URL of the ddg-search page, not the URL of a (generic) Javascript.  The
latter one is not usefull for the user.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-28 10:25:44 +02:00
Markus Heiser 3b2a2e28fa [mod] google: support for showing the answer source url
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-28 10:25:44 +02:00
Bnyro 3dffdf17f7 [mod] engine duckduckgo definitions: support for answer source 2023-08-28 10:25:44 +02:00
Bnyro 2e85382ffe [mod] brave: support for showing the answer source url 2023-08-28 10:25:44 +02:00
Markus Heiser 8bab384843 [build] /static 2023-08-28 10:25:44 +02:00
Bnyro 0264a1a205 [feat] results: show source of suggested answer 2023-08-28 10:23:45 +02:00
Markus Heiser 17394ad558 [mod] improve seekr engines and add documentation
Tis patch adds some more fields to the result items and changed paging to the
``nextResultSet`` given in seekr's JSON response.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-28 10:23:45 +02:00
Bnyro 8bf0791117 [feat] engine: implementation of seekr for news, images and videos 2023-08-28 10:23:45 +02:00
Markus Heiser 014fe5d9c6 [drop] engine archive.is / blocked by CAPTCHA [1]
Sadly archive.is is blocked by a CAPTCHA that can't be avoid (at least in a
XPath engine).

[1] https://github.com/searxng/searxng/issues/2643

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-28 10:23:45 +02:00
mrpaulblack 9af006f688 [fix] preferences: change engine table category colspan to 8
* this is a small fix to increase the colspan of the category in engine preferences from 7 to 8, since there was a column added
=> fixing a small fallout from 4731290317
2023-08-28 10:23:45 +02:00
ToxyFlog1627 301cc34904 [fix] typos in documentation & messages 2023-08-28 10:23:45 +02:00
MatthieuBarbu 7c4e5b3860 rebrand
add zaclys menu
adjust style
2023-08-28 09:52:05 +02:00
Markus Heiser c348427f07 [update] make pygments.less
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-11 10:54:50 +02:00
searxng-bot 99df7b84d1 [translations] update from Weblate
12c527bcd - 2023-08-10 - maxch <maxletters@tutanota.com>
ea46b66fc - 2023-08-10 - return42 <markus.heiser@darmarit.de>
ae3d8dcdf - 2023-08-10 - return42 <markus.heiser@darmarit.de>
ab6a59e35 - 2023-08-10 - return42 <markus.heiser@darmarit.de>
1db1affcc - 2023-08-10 - gallegonovato <fran-carro@hotmail.es>
94b682aa0 - 2023-08-10 - Fjuro <ifjuro@proton.me>
07c49bb6c - 2023-08-10 - return42 <markus.heiser@darmarit.de>
2023-08-11 09:17:56 +02:00
Bnyro c76c999a1e [feat] engine: implementation of anaconda 2023-08-10 23:51:07 +02:00
Bnyro e25d1c7288 [feat] engine: implementation of German news, Tagesschau
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-10 20:27:54 +02:00
GeckoLinux 2256ba2ffb [mod] settings.yml: move wolframalpha to categ general & disable by default
As suggested in comment [1] as a good compromise between [2] and [3].

This will help users that want Wolfram Alpha instant answers by default with
every query and don't mind the slowness.  It will be disabled by default so it's
fast for all users, and those that need it can enable it as a user-configurable
option without requiring setting up their own instance to change the Wolfram
Alpha categorization.

[1] https://github.com/searxng/searxng/pull/813#issuecomment-1574851572
[2] https://github.com/searxng/searxng/pull/813#issuecomment-1020581765
[3] https://github.com/searxng/searxng/issues/966#issue-1171107451
2023-08-10 14:31:09 +02:00
Bnyro 834e1c3f12 [mod] engine lemmy: increase thumbnail quality to align with theme 2023-08-10 12:58:40 +02:00
Markus Heiser c381fc001f [mod] settings: remove lemmy from categ 'general' & enable by default
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-10 12:58:40 +02:00
Markus Heiser fda111c0c9 [mod] engine lemmy: add more info fields to the result items
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-10 12:58:40 +02:00
Bnyro 224f2250ae [feat] engine: support for lemmy communities, posts, comments and users 2023-08-10 12:58:40 +02:00
Bnyro 9f82c39610 [mod] engine google_play: raise error on unsupported category 2023-08-10 12:35:24 +02:00
Bnyro 0a99dc85b9 [mod] engine brave: raise error on unsupported category 2023-08-10 12:35:24 +02:00
Bnyro 4731290317 [mod] settings: show weight of each instance 2023-08-10 10:50:14 +02:00
Markus Heiser 733b795d53 [fix] make flask_babel.gettext() work in engine modules (L10n & threads)
incident:
  flask_babel.gettext() does not work in the engine modules.

cause:
  the request() and response() functions of the engine modules run in the
  processor, whose search() method runs in a thread and in the threads the
  context of the Flask app does not exist. The context of the Flask app is
  needed by the gettext() function for the L10n.

Solution:
  copy context of the Flask app into the threads. [1]

special case:
  We cannot equip the search() method of the processors with the decorator [1],
  because the decorator requires a context (Flask app) that does not yet exist
  at the time of the initialization of the processors (the initialization of the
  processors is part of the initialization of the Flask app).

[1] https://flask.palletsprojects.com/en/2.3.x/api/#flask.copy_current_request_context

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-09 13:27:43 +02:00
allendema_searxng_pi c00c0c5434 [mod] remove discontinued petalsearch engines 2023-08-09 07:17:40 +02:00
Markus Heiser b8352eca0c [mod] brave engines: add fetch_traits() / improve language support
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-08 16:21:45 +02:00
Markus Heiser 460bbe5b81 [mod] implement brave (WEB) engine to replace XPath configuration
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-08 16:21:45 +02:00
Bnyro d151497db3 [feat] engine: brave - support for news 2023-08-08 16:21:45 +02:00
Bnyro cae06f2781 [feat] engine: brave - support for videos 2023-08-08 16:21:45 +02:00
Bnyro 73364e158e [feat] engine: brave - support for images 2023-08-08 16:21:45 +02:00
Markus Heiser bcaaae699f [doc] fix some minor typos in the doc-strings of class EngineTraits
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-08 08:15:53 +02:00
Markus Heiser a2108432f7 [fix] settings.yml: typo in engine name wikipecies -> wikispecies
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-07 10:35:44 +02:00
Markus Heiser 1d0abb7157 [doc] engine bt4g: add documentation to docs/dev/engines/online/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-06 09:30:48 +02:00
Emilien Devos 0fc8f99ecc [feat] new engine: bt4g added & enabled and disable by default btdigg
Disable btdigg because on most SearXNG instances, SearXNG is blocked by btdigg
due to cloudflare too many requests.

This impementation did not parse the HTML page because there is an API in
XML (RSS).  The RSS feed provides fewer data like amount of seeders/leechers and
the files in the torrent file. It's a tradeoff for a "stable" engine as the XML
from RSS content will change way less than the HTML page.

Closes: https://github.com/searxng/searxng/issues/2553
2023-08-06 09:30:48 +02:00
Markus Heiser dad16c0949 [mod] settings.yml: enable engines from Wikimedia Foundation
The Wikimedia wikis [1] engines provide good answers and have short response
times --> no reason to disable these enhgines by default.  BTW: this patch adds
a (sub-) category ``wikimedia`` for the engines [1].

[1] https://meta.wikimedia.org/wiki/Wikimedia_wikis

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-04 19:06:50 +02:00
Markus Heiser db522cf76d [mod] engine: wikimedia - improve results, add addition settings & doc
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-04 19:06:50 +02:00
Bnyro 7d8c20c80d [feat] new engine: wikispecies 2023-08-04 19:06:50 +02:00
searxng-bot 9a5e91ce84 [translations] update from Weblate
310daeb72 - 2023-08-03 - return42 <markus.heiser@darmarit.de>
01be8a264 - 2023-08-01 - return42 <markus.heiser@darmarit.de>
2023-08-04 09:30:11 +02:00
Markus Heiser 1b030d4b41 [doc] engine: Yacy
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-03 19:58:51 +02:00
zutto ca518c6803 add option to change yacy search mode 2023-08-03 19:58:51 +02:00
Markus Heiser 203f1f0928 [fix] engine piped: 'invalid content'
SearXNG does not allow a None value in the content field of a result item.

If the key (shortDescription, uploaderName) in the JSON response from piped
exists but is set to None, SearXNG ignores this result item::

  DEBUG   searx    : result: invalid content: { ..,  'content': None,  ..}

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-03 16:23:36 +02:00
Markus Heiser 207fcc0c8c [mod] engine piped: add paging support
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-03 16:23:36 +02:00
Markus Heiser ef5831cd84 [mod] engine piped: split into two dedicated engiens for video & music
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-03 16:23:36 +02:00
Markus Heiser 7aa95d2d52 [doc] engine piped: add documentation to docs/dev/engines/online/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-03 16:23:36 +02:00
Bnyro 636bfdac68 [feat] engine: implementation of Piped 2023-08-03 16:23:36 +02:00
dalf 8b4ba204b7 Update searx.data - update_engine_descriptions.py 2023-07-29 11:02:54 +02:00
dalf d421385dc6 Update searx.data - update_wikidata_units.py 2023-07-29 11:02:23 +02:00
dalf 290f16207b Update searx.data - update_currencies.py 2023-07-29 11:02:14 +02:00