Bnyro
cfbe59b6b3
[feat] engine: implementation of mozhi
8 months ago
Xinos
3c42252c78
[feat] engine: implementation of yandex music
...
Access to music is limited to a few countries:
- https://yandex.com/support/music/access.html
8 months ago
micsthepick
fde21c8f99
[feat] engine: Add LiveSpace livestreams
8 months ago
searxng-bot
3b80f9fe03
[translations] update from Weblate
...
df7653397
- 2024-02-19 - return42 <markus.heiser@darmarit.de>
c62c03816
- 2024-02-19 - return42 <markus.heiser@darmarit.de>
a48235060
- 2024-02-18 - tentsbet <remendne@pentrens.jp>
445545961
- 2024-02-19 - return42 <markus.heiser@darmarit.de>
275a77e51
- 2024-02-16 - hankskyjames777 <iamjuanz30312@gmail.com>
0772d9b4c
- 2024-02-16 - Fjuro <ifjuro@proton.me>
8 months ago
Markus Heiser
894f164869
[fix] sort RTL_LOCALES before written into locales.json
...
To avoid unnecessary changes to the file, the list should be sorted before it is
written to the file.
You can test it by calling multiple times::
make data.locales
and searx/data/locales.json should be unchanged.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
8 months ago
Alexandre Flament
ed66ed758d
[mod] reduce memory footprint by not calling babel.Locale.parse at runtime
...
babel.Locale.parse loads more than 60MB in RAM. The only purpose is to get:
LOCALE_NAMES - searx.data.LOCALES["LOCALE_NAMES"]
RTL_LOCALES - searx.data.LOCALES["RTL_LOCALES"]
This commit calls babel.Locale.parse when the translations are update from
weblate and stored in::
searx/data/locales.json
This file can be build by::
./manage data.locales
By store these variables in searx.data when the translations are updated we save
round about 65MB (usually 4 worker = 260MB of RAM saved.
Suggested-by: https://github.com/searxng/searxng/discussions/2633#discussioncomment-8490494
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
8 months ago
Markus Heiser
76845ea42c
[mod] engine ask.com - parse JS result to JSON
...
Parse the result list from ask.com given in the variable named
window.MESON.initialState::
<script nonce="..">
window.MESON = window.MESON || {};
window.MESON.initialState = {"siteConfig": ...
...}};
window.MESON.loadedLang = "en";
</script>
The result list is in field::
json_resp['search']['webResults']['results']
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
8 months ago
Hackurei
3df53d6e50
[feat] engine: implementation of ask.com
8 months ago
searxng-bot
2aef3a556f
[translations] update from Weblate
...
be989636e
- 2024-02-14 - return42 <markus.heiser@darmarit.de>
0e3455cb8
- 2024-02-13 - return42 <markus.heiser@darmarit.de>
edc279680
- 2024-02-14 - pietro395 <me@pietro.in>
e0d3b7f9f
- 2024-02-14 - kratos <makesocialfoss32@keemail.me>
f68fc5440
- 2024-02-13 - gallegonovato <fran-carro@hotmail.es>
980f3846c
- 2024-02-12 - tentsbet <remendne@pentrens.jp>
711618f3a
- 2024-02-12 - return42 <markus.heiser@darmarit.de>
1d12e762f
- 2024-02-12 - ghose <correo@xmgz.eu>
ab319100b
- 2024-02-12 - return42 <markus.heiser@darmarit.de>
9854a5a4a
- 2024-02-12 - return42 <markus.heiser@darmarit.de>
ebfb23f13
- 2024-02-10 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
8 months ago
Bnyro
11c0651ef4
[fix] lingva: redirect and parsing error
8 months ago
dalf
bffc4905ce
Update searx.data - update_currencies.py
8 months ago
Markus Heiser
bfcd41f04a
[clean] drop obsolete py3.7 compatibility
...
- https://github.com/searxng/searxng/discussions/2356
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
8 months ago
Hackurei
b0fe0924a3
[feat] engine: implementation of brave goggles
8 months ago
Markus Heiser
53898b8c37
[mod] footer: i18n for the link names in the footer
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
8 months ago
Bnyro
7e1b5f6cc8
[feat] footer: support for custom entries
8 months ago
searxng-bot
459389a2da
[translations] update from Weblate
...
2b940307e
- 2024-02-08 - return42 <markus.heiser@darmarit.de>
e7cdce39e
- 2024-02-08 - return42 <markus.heiser@darmarit.de>
171fae67d
- 2024-02-08 - return42 <markus.heiser@darmarit.de>
d6a760466
- 2024-02-08 - return42 <markus.heiser@darmarit.de>
8cc4c51a9
- 2024-02-04 - return42 <markus.heiser@darmarit.de>
2e76559ba
- 2024-02-04 - return42 <markus.heiser@darmarit.de>
8 months ago
Markus Heiser
df1a774003
[fix] KeyError: 'title' in results using key-value.html template
...
Since #2508 a title is required --> this is a bug when an engine uses the
key-value.html template [1], where no title is needed.
[1] https://github.com/searxng/searxng/blob/master/searx/templates/simple/result_templates/key-value.html
Closes: https://github.com/searxng/searxng/issues/3130
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
9 months ago
searxng-bot
11f918296f
[translations] update from Weblate
...
a00154946
- 2024-02-01 - yuttct <yuttct@yahoo.com>
9f220b2aa
- 2024-02-02 - return42 <markus.heiser@darmarit.de>
71951ae12
- 2024-02-02 - return42 <markus.heiser@darmarit.de>
a2f344a70
- 2024-02-02 - return42 <markus.heiser@darmarit.de>
0f2944179
- 2024-02-01 - return42 <markus.heiser@darmarit.de>
f0d42961f
- 2024-02-01 - return42 <markus.heiser@darmarit.de>
a5cc1c6d5
- 2024-02-01 - return42 <markus.heiser@darmarit.de>
c5a39252d
- 2024-02-01 - return42 <markus.heiser@darmarit.de>
fa01c9758
- 2024-02-01 - return42 <markus.heiser@darmarit.de>
51a86de3d
- 2024-02-01 - return42 <markus.heiser@darmarit.de>
4a55d6d8d
- 2024-02-01 - return42 <markus.heiser@darmarit.de>
3bb8adf1f
- 2024-02-01 - return42 <markus.heiser@darmarit.de>
1b2e23dcb
- 2024-02-01 - return42 <markus.heiser@darmarit.de>
7589d6bbc
- 2024-02-01 - return42 <markus.heiser@darmarit.de>
c04d8739c
- 2024-01-31 - SomeTr <SomeTr@users.noreply.translate.codeberg.org>
9 months ago
Markus Heiser
be0d756ad5
[fix] libgen.fun is down, switch to libgen.rs
...
Closes: https://github.com/searxng/searxng/issues/3178
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
9 months ago
allixx
6d31ca28b5
[fix] remove missing link icon macro
9 months ago
Hermógenes Oliveira
100a150a33
Remove rtl exception
...
This right-to-left exception doesn't seem to be called for.
9 months ago
Hermógenes Oliveira
f9f0c2ec03
Fix media exposure toggle
...
Make initially hidden and the toggle button consistent.
9 months ago
Hermógenes Oliveira
fa7fef7d87
Provide template for results in file category
...
This is used, for instance, by the recoll engine.
9 months ago
Markus Heiser
ab8e5383fb
[mod] remove X-XSS-Protection headers
...
Deprecated header not used by browsers nowadays[1]:
"""In modern browsers, X-XSS-Protection has been deprecated in favor of the
Content-Security-Policy to disable the use of inline JavaScript. Its use can
introduce XSS vulnerabilities in otherwise safe websites. This should not be
used unless you need to support older web browsers that don’t yet support CSP.
It is thus recommended to set the header as X-XSS-Protection: 0."""[2]
[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection
[2] https://infosec.mozilla.org/guidelines/web_security#x-xss-protection
Closes: https://github.com/searxng/searxng/issues/3171
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
9 months ago
allixx
dca78f920f
[build] /static
9 months ago
allixx
c85f706601
[fix] wrong engines padding
9 months ago
allixx
30dcaf1db6
[fix] equalize cached/proxied links left margin
9 months ago
allixx
1e03094dee
[fix] justify engines/cached/proxied vertically
9 months ago
Markus Heiser
c14b117121
[fix] brave.search - update result selectors to fit to new layout
...
Closes: https://github.com/searxng/searxng/issues/3167
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
9 months ago
Bnyro
efbee96b1d
[feat] brave: fix empty content and parse published dates
9 months ago
Bnyro
90072eb6ff
[build] /static
9 months ago
Bnyro
a5decfb838
[feat] preferences: button to copy input to restore preferences hash
9 months ago
Bnyro
559b860618
[feat] engine: implementation of goodreads
9 months ago
searxng-bot
a962aab9b0
[translations] update from Weblate
...
c1a3532a2
- 2024-01-23 - return42 <markus.heiser@darmarit.de>
603c6894b
- 2024-01-23 - return42 <markus.heiser@darmarit.de>
2920c7342
- 2024-01-22 - Eshan-K-I <2027eiyer@tjhsst.edu>
64cc1168a
- 2024-01-20 - return42 <markus.heiser@darmarit.de>
21ec41823
- 2024-01-20 - return42 <markus.heiser@darmarit.de>
9 months ago
dalf
62fa85287a
Update searx.data - update_wikidata_units.py
9 months ago
dalf
0ed7548d83
Update searx.data - update_firefox_version.py
9 months ago
dalf
d763934a7a
Update searx.data - update_ahmia_blacklist.py
9 months ago
dalf
14f73ef3d9
Update searx.data - update_engine_traits.py
9 months ago
dalf
a393341403
Update searx.data - update_engine_descriptions.py
9 months ago
allixx
e4cf0a7d4f
[fix] do highlight replacement at once
...
Highlights all search queries in search result in one go.
Fixes the case where search query contains word from highlight HTML code,
which causes broken HTML to appear in search results.
Closes #3057
9 months ago
Bnyro
8c73aa772b
[fix] semantic scholar: bad request
9 months ago
searxng-bot
ab5d2f32bb
[translations] update from Weblate
...
0f8246b81
- 2024-01-17 - return42 <markus.heiser@darmarit.de>
ce23e8ce9
- 2024-01-16 - return42 <markus.heiser@darmarit.de>
1112731cb
- 2024-01-17 - return42 <markus.heiser@darmarit.de>
9 months ago
Émilien (perso)
7c80807bb8
Block HeadlessChrome ( #3116 )
9 months ago
Jinyuan Huang
9c5f9735cf
[fix] engine: safesearch parameter in Google Videos engine ( #2762 )
...
Closes: https://github.com/searxng/searxng/issues/2762
9 months ago
Markus Heiser
8762863ebf
[mod] presearch: set WEB timeout to 4sec & single network for all request
...
timeout: 4.0
The timeout of presearch-WEB is left up from the default of 3sec to 4sec. The
engine has to send two HTTP requests, they often exceed the default timeout of
3sec. Since all other presearch categories (images, videos, news) also have a
timeout of 4 sec, the WEB search should also have the same timeout.
network: presearch
Place all HTTP requests in the same network, named ``presearch``.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
9 months ago
Markus Heiser
e560d7e373
[mod] presearch: add language & region support
...
In Presearch there are languages for the UI and regions for narrowing down the
search. With this change the SearXNG engine supports a search by region. The
details can be found in the documentation of the source code.
To test, you can search terms like::
!presearch bmw :zh-TW
!presearch bmw :en-CA
1. You should get results corresponding to the region (Taiwan, Canada)
2. and in the language (Chinese, Englisch).
3. The context in info box content is in the same language.
Exceptions:
1. Region or language is not supported by Presearch or
2. SearXNG user did not selected a region tag, example::
!presearch bmw :en
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
9 months ago
Markus Heiser
a2c269bbac
[mod] presearch: hardening engine's response against KeyErrors
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
9 months ago
Bnyro
0a78f59aba
[fix] presearch: safesearch, time ranges, crash when no result found
9 months ago
Markus Heiser
87f18b98ec
[fix] SyntaxWarning: invalid escape sequence '\>'
...
This patch fixes issue reported by ``make test.unit``::
searx/search/checker/impl.py:39: SyntaxWarning: invalid escape sequence '\>'
rep = ['<' + tag + '[^\>]*>' for tag in HTML_TAGS]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
9 months ago
searxng-bot
b0b2efdc8d
[translations] update from Weblate
...
3dafa37f3
- 2024-01-10 - return42 <markus.heiser@darmarit.de>
a641db83f
- 2024-01-10 - Rick1029 <yoshibear1029@gmail.com>
a3d2b083f
- 2024-01-08 - johnmartzbuntia <johnmartibuntia@jmtb.xyz>
b6dec1f75
- 2024-01-08 - return42 <markus.heiser@darmarit.de>
eb76d8b8d
- 2024-01-09 - Rick1029 <yoshibear1029@gmail.com>
9 months ago