Mikkel Denker
b21aaa8907
Add user-agent to stract requests
2024-03-22 13:40:46 +01:00
Markus Heiser
542f7d0d7b
[mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION
...
In the past, some files were tested with the standard profile, others with a
profile in which most of the messages were switched off ... some files were not
checked at all.
- ``PYLINT_SEARXNG_DISABLE_OPTION`` has been abolished
- the distinction ``# lint: pylint`` is no longer necessary
- the pylint tasks have been reduced from three to two
1. ./searx/engines -> lint engines with additional builtins
2. ./searx ./searxng_extra ./tests -> lint all other python files
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-11 14:55:38 +01:00
Markus Heiser
8205f170ff
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-11 14:55:38 +01:00
Markus Heiser
707d6270c8
[doc] engine: mullvad leta
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 18:20:07 +01:00
Grant Lanham
9d6896a771
[feat] engine: implementation of mullvad leta
2024-03-10 18:20:07 +01:00
Markus Heiser
0ffec440b2
[doc] annas_archive: ctegs journal_article & book_any has been removed
...
In commit 8af181533
in PR:
- https://github.com/searxng/searxng/pull/3321
the category `journal_article` has been removed, `book_any` has been removed
longer time ago.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 12:46:00 +01:00
Markus Heiser
e97e1f9110
[fix] duckduckgo.fetch_traist - URL of region definitions has changed
...
- https://duckduckgo.com/dist/util/u.7669f071a13a7daa57cb.js
updated from u661.js to u.7669f071a13a7daa57cb / should be updated
automatically? The last change was on March 23rd in dba8977b09
[1]
- [1] https://github.com/searxng/searxng/pull/2269
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-10 10:32:54 +01:00
Markus Heiser
33c099022b
[drop] engine framalibre - sarch URL is no longer supported
...
Closes: https://github.com/searxng/searxng/issues/3286
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-09 18:00:45 +01:00
Alexandre Flament
42515d98f7
engine npm use the packages.html template
2024-03-09 10:24:49 +01:00
Bnyro
6dd07b88a4
[feat] lib.rs: use packages.html template
2024-03-09 10:17:16 +01:00
Markus Heiser
a7b51f023e
[black] upgrade black 22.12.0 --> 24.2.0
...
The issue discussed in [1] has been solved since [2] has been merged into black
/ now we can upgrade without touching 69 files as it was needed with black
23.1.0 [3].
[1] https://github.com/searxng/searxng/pull/2159#issuecomment-1425723977
[2] https://github.com/psf/black/pull/4060
[3] https://github.com/searxng/searxng/pull/2159/files
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-09 08:15:50 +01:00
Bnyro
44decaa524
[feat] pkg.go.dev: use packages.html template
2024-03-08 17:18:54 +01:00
Markus Heiser
a5b81e2555
[fix] nyaa engine - paging support & filesize (GiB)
...
BTW: pylint engine
Closes: https://github.com/searxng/searxng/issues/3290
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-07 07:38:31 +01:00
Markus Heiser
3529f0af50
[fix] engine searchcode.com - paging is broken in searchcode.com's API
...
paging is broken in searchcode.com's API .. not sure it will ever been fixed /
this commit disables paging in the engine and BTW pylint `searchcode_code.py`.
Closes: https://github.com/searxng/searxng/issues/3287
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-06 12:33:29 +01:00
Markus Heiser
5602f0bf96
[fix] engine pinterest - ignore result type 'story'
...
Close: https://github.com/searxng/searxng/issues/3289
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-06 07:33:43 +01:00
Markus Heiser
d97b84bea2
[fix] ddg engines (get_vqd) - the vqd value is no longer in the form
...
Closes: https://github.com/searxng/searxng/issues/3276
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-05 16:27:04 +01:00
Yaksh Bariya
b1431e1670
[feat] engine: implementation of cppreference
2024-03-03 17:07:29 +01:00
Bnyro
f3b4bf86a7
[feat] engine: implementation of void linux packages
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-29 13:12:40 +01:00
Alexandre Flament
d58760ef75
[mod] pypi engine: use packages.html
2024-02-29 07:48:44 +01:00
Austin-Olacsi
9330a072eb
[feat] engine: implementation of pixiv
2024-02-25 16:29:57 +01:00
Bnyro
e76ab1a4b3
[refactor] images: add resolution, image format and filesize fields
...
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-25 16:22:37 +01:00
Markus Heiser
b683aa63fb
[feat] github: use packages template
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-25 14:56:57 +01:00
Bnyro
1d6f475fbc
[feat] dockerhub: use packages template
2024-02-25 14:56:57 +01:00
Bnyro
cfbe59b6b3
[feat] engine: implementation of mozhi
2024-02-23 07:50:48 +01:00
Xinos
3c42252c78
[feat] engine: implementation of yandex music
...
Access to music is limited to a few countries:
- https://yandex.com/support/music/access.html
2024-02-21 17:17:12 +01:00
micsthepick
fde21c8f99
[feat] engine: Add LiveSpace livestreams
2024-02-20 14:45:07 +01:00
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>
2024-02-18 09:17:22 +01:00
Hackurei
3df53d6e50
[feat] engine: implementation of ask.com
2024-02-18 09:17:22 +01:00
Bnyro
11c0651ef4
[fix] lingva: redirect and parsing error
2024-02-11 11:28:47 +01:00
Hackurei
b0fe0924a3
[feat] engine: implementation of brave goggles
2024-02-10 08:09:50 +01:00
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>
2024-01-31 16:21:56 +01:00
Bnyro
efbee96b1d
[feat] brave: fix empty content and parse published dates
2024-01-30 07:41:45 +01:00
Bnyro
559b860618
[feat] engine: implementation of goodreads
2024-01-29 16:07:24 +01:00
Bnyro
8c73aa772b
[fix] semantic scholar: bad request
2024-01-25 06:12:08 +01:00
Jinyuan Huang
9c5f9735cf
[fix] engine: safesearch parameter in Google Videos engine ( #2762 )
...
Closes: https://github.com/searxng/searxng/issues/2762
2024-01-16 15:29:09 +01:00
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>
2024-01-15 19:23:26 +01:00
Markus Heiser
a2c269bbac
[mod] presearch: hardening engine's response against KeyErrors
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-15 19:23:26 +01:00
Bnyro
0a78f59aba
[fix] presearch: safesearch, time ranges, crash when no result found
2024-01-15 19:23:26 +01:00
Bnyro
621e1313af
[feat] engine: implementation of stract (beta)
2024-01-07 11:18:16 +01:00
Markus Heiser
8dfc1dbc5c
[fix] engine - offical URL moved to https://lingva.thedaviddelta.com/
...
The ML top-level domain has been removed from Freenom ... moved the official
instance to https://lingva.thedaviddelta.com [1]
To test use translation syntax:
!lv en-de Alternative front-end for Google Translate
[1] https://fosstodon.org/@thedaviddelta/111376540936289966
Closes: https://github.com/searxng/searxng/issues/2718
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-25 09:57:35 +01:00
Markus Heiser
6df922b9da
[fix] fetch_traits of google and zlibrary
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-24 08:28:32 +01:00
Bnyro
8a4104b992
[feat] engine: implementation of rotten tomatoes
2023-12-11 18:59:36 +01:00
Bnyro
dda74fc9c9
[feat] engine: implementation of mdn
2023-12-11 18:57:40 +01:00
Bnyro
b5b81c9806
[feat] engine: implementation of fyyd
2023-12-11 18:56:32 +01:00
Bnyro
527e13ab46
[feat] engine: implementation of podcastindex.org
2023-12-11 18:55:16 +01:00
Bnyro
3bc85c511c
[mod] tootfinder: implement python module
2023-12-11 18:54:24 +01:00
Markus Heiser
3829c253ff
[mod] add option max_page to bing, brave, qwant, startpage & mojeek
...
[1] https://github.com/searxng/searxng/issues/2982#issuecomment-1808975780
Reported-by: @Damaj301damaj-lol [1]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-03 13:47:17 +01:00
Markus Heiser
2274d55d5a
[mod] add option max_page
...
Related: https://github.com/searxng/searxng/issues/2982
Closes: https://github.com/searxng/searxng/issues/2972
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-03 13:47:17 +01:00
Bnyro
bf75a8c2a0
[feat] engine: implementation of bpb
2023-11-27 16:46:41 +01:00
Bnyro
04cfce2eb8
[feat] yep: support for images and news (and safesearch)
2023-11-27 15:07:26 +01:00