summaryrefslogtreecommitdiff
path: root/searx/engines
AgeCommit message (Collapse)Author
2024-07-15Update mullvad_leta.py to account for img_elemGrant Lanham
A recent update from Mullvad Leta introduced the img_elem. This update broke the existing logic. Now, by checking the length of the dom_result to see if it was included in the return results, we can handle the logic accordingly.
2024-07-14[feat] engine: implementation of alpine linux packagesBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-07-07Implement google/brave switch in Mullvad LetaGrant Lanham
cleanup Import annontations
2024-07-03[fix] gentoo: use mediawiki engineBnyro
2024-06-30[mod] libretranslate: add direct link to translation (engine)Thomas Renard
2024-06-25[fix] brave fetch_traits: layout of the settings page has changedMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25[fix] engine zlibrary: handle seized domainMarkus Heiser
The domains of zlibrary instances are known to be seized from time to time. This leads to problems when, for example, the automated tasks try to update the engine traits (aka fetch_traits). The search function should also generate a suitable error message (currently either SSL errors or empty result lists are returned). [1] [1] https://github.com/searxng/searxng/issues/3610 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25[fix] bing news results return invalid imagesMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/3502 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-23[fix] implement tests and remove usage of gen_useragent in enginesGrant Lanham
2024-06-20Fix search_url building.Richard Lyons
2024-06-16[fix] \!goi irrelevant results AND display more resultsAllen
2024-06-15[perf] torrents.html, files.html: don't parse and re-format filesizeBnyro
2024-06-15[feat] mozhi: fix crash, support synonyms and definitionBnyro
2024-06-15[refactor] duckduckgo: use extr helper function in get_vqdBnyro
2024-06-07[feat] mojeek: implement dedicated moduleBnyro
2024-06-07[enh] Add engine for discourse forumsallendema_searxng_pi
2024-05-29[enh] add re-usable func to filter textAllen
2024-05-29[fix] do not show DDG IP from zero clickJeff Alyanak
The zero click result from DuckDuckGo for IP should not be displayed. It will return the IP of the searxng server, not the user's IP, and looks a bit strange when the `self_info` plugin is enabled as two different IPs get returned.
2024-05-29[fix] engine startpage: fetch_traits() / if lang name unknown by babelMarkus Heiser
Workflow "Update data - update_engine_traits.py" fails last night [1]. This issue has already been reported by @allendema [2]. [1] https://github.com/searxng/searxng/actions/runs/9278028691/job/25528337485#step:6:168 [2] https://github.com/searxng/searxng/pull/3504/files#r1613559565 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-28[feat] engine: implementation of findthatmemeAustin-Olacsi
2024-05-28[fix] issues reported by pylint-3.2.2Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-28[mod] engine hex: add sort_criteria & page_size to configurationDaniel Kukula
2024-05-24[enh] add instant answers from ddgallendema_searxng_pi
2024-05-17[feat] engine: implementation of cargo search (crates.io)Daniel Kukula
2024-05-16[mod] simple theme: drop img_src from default resultsMarkus Heiser
The use of img_src AND thumbnail in the default results makes no sense (only a thumbnail is needed). In the current state this is rather confusing, because img_src is displayed like a thumbnail (small) and thumbnail is displayed like an image (large). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-15[fix] google: don't display that keyword is missing in content fieldBnyro
2024-05-15[mod] hex engine: normalize (some of) the linked termsMarkus Heiser
The names of the links are rather tags than real names, and they sometimes vary greatly in their spelling: - GitHub: github, Github - Source code: Repository, SCM, Project Source Code - Documentation: docs, Documentation It was standardized to terms such as 'Source code' and 'Documentation', as translations already exist for these terms. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-15[mod] package.html template: additional links (a python dict)Daniel Kukula
- Closes: https://github.com/searxng/searxng/issues/3456
2024-05-15[feat] engine: implementation of giteaBnyro
2024-05-12[fix] chefkoch: use German words in content fieldBnyro
2024-05-10[fix] engine wikidata - WIKIDATA_UNITS has been changed in #3378Markus Heiser
This patch is a leftover from [1] in which the WIKIDATA_UNITS values has become a dictionary. [1] https://github.com/searxng/searxng/pull/3378 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-09[mod] yacy engine: pick base_url randomly from a list of instancesMarkus Heiser
Inspired by post [1] in the disscussion we had, while yacy.searchlab.eu was broken. [1] https://github.com/searxng/searxng/issues/3428#issuecomment-2101080101 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-04[fix] startpage engine: XPath expressions adapted for new HTML layoutMarkus Heiser
Startpage has changed its HTML layout, classes like ``w-gl__result__main`` do no longer exists and the result items have been slightly changed in their structure. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-04[feat] wikimedia commons: support for videos, audio and other filesBnyro
2024-05-03[feat] engine: implementation of https://hex.pmDaniel Kukula
The package manager for the Erlang ecosystem Find packages. Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2024-04-28[fix] ccc_media engine: filter video formats and ignore audio & SubRipMarkus Heiser
CCC media serves several recording formats, to name a few: - application/x-subrip - video/mp4 - video/webm - audio/mpeg - audio/opus - audio/mpeg not all of them are suitable for a video frame. If available we should prefer video/mp4 due to its minimal data rates. Closes: https://github.com/searxng/searxng/issues/3431 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-27[feat] plugins: new unit converter pluginBnyro
2024-04-27[feat] media.ccc.de: implement module with pagination and iframeBnyro
2024-04-26[fix] add missing localizable (gettext) messages to searxng.msgMarkus Heiser
To test this patch I used .. and checked the diff of the `messages.pot` file:: $ ./manage pyenv.cmd pybabel extract -F babel.cfg \ -o ./searx/translations/messages.pot searx/ $ git diff ./searx/translations/messages.pot ---- hint from @dalf: f-string are not supported [1] but there is no error [2]. [1] python-babel/babel#594 [2] python-babel/babel#715 Closes: https://github.com/searxng/searxng/issues/3412 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-26[refactor] translation engines: add translate categoryBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-26[feat] engine: implementation of LibreTranslateBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-20[fix] yahoo: result titles are getting mixed togetherBnyro
2024-04-13[fix] engine: youtube_api - ignore channels / prevent exceptionssingletail
`youtube_api.py` throws an exception if the search results contain a channel, as channels have no videoId. This PR adds a keycheck for parsing the json response.
2024-04-10[mod] engine 'mwmbl: Update API URLDiagonalo
2024-04-08[fix] ddg engine: if no vqd value can be determined, don't save NoneMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/3370 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-04-08[mod] Ask engine: remove tracking paramaters and set max page to 5Austin-Olacsi
2024-04-07[feat] engine: implementation of Open MeteoBnyro
2024-03-22Add user-agent to stract requestsMikkel Denker
2024-03-11[mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTIONMarkus Heiser
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[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTIONMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>