summaryrefslogtreecommitdiff
path: root/searx
AgeCommit message (Collapse)Author
2022-07-30[fix] pyright repported errorsAlexandre Flament
The errors make pyright usage useless since a new error won't be seen [1]. [1] https://github.com/searxng/searxng/pull/1569 ``` searx/compat.py:11:27 - error: Expression of type "Type[cached_property[_T@cached_property]]" cannot be assigned to declared type "Type[cached_property]" "Type[cached_property[_T@cached_property]]" is incompatible with "Type[cached_property]" Type "Type[cached_property[_T@cached_property]]" cannot be assigned to type "Type[cached_property]" (reportGeneralTypeIssues) searx/utils.py:69:36 - error: Expression of type "None" cannot be assigned to parameter of type "str" Type "None" cannot be assigned to type "str" (reportGeneralTypeIssues) searx/utils.py:573:85 - error: Expression of type "None" cannot be assigned to parameter of type "int" Type "None" cannot be assigned to type "int" (reportGeneralTypeIssues) searx/webapp.py:1306:22 - error: Argument of type "str" cannot be assigned to parameter "__a" of type "BytesPath" in function "join" Type "str" cannot be assigned to type "BytesPath" "str" is incompatible with "bytes" "str" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/webapp.py:1306:68 - error: Argument of type "Literal['themes']" cannot be assigned to parameter "paths" of type "BytesPath" in function "join" Type "Literal['themes']" cannot be assigned to type "BytesPath" "Literal['themes']" is incompatible with "bytes" "Literal['themes']" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/webapp.py:1306:78 - error: Argument of type "str | Any | None" cannot be assigned to parameter "paths" of type "BytesPath" in function "join" Type "str | Any | None" cannot be assigned to type "BytesPath" Type "str" cannot be assigned to type "BytesPath" "str" is incompatible with "bytes" "str" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/webapp.py:1306:85 - error: Argument of type "Literal['img']" cannot be assigned to parameter "paths" of type "BytesPath" in function "join" Type "Literal['img']" cannot be assigned to type "BytesPath" "Literal['img']" is incompatible with "bytes" "Literal['img']" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/engines/mongodb.py:8:6 - warning: Import "pymongo" could not be resolved (reportMissingImports) searx/engines/mysql_server.py:9:8 - warning: Import "mysql.connector" could not be resolved (reportMissingImports) searx/engines/postgresql.py:9:8 - warning: Import "psycopg2" could not be resolved from source (reportMissingModuleSource) searx/engines/xpath.py:187:28 - warning: "categories" is not defined (reportUndefinedVariable) searx/search/__init__.py:184:82 - warning: "flask" is not defined (reportUndefinedVariable) searx/search/checker/background.py:19:26 - error: Type of "schedule" is partially unknown Type of "schedule" is "(delay: Any, func: Any, *args: Any) -> Literal[True]" (reportUnknownVariableType) searx/shared/__init__.py:8:12 - warning: Import "uwsgi" could not be resolved (reportMissingImports) searx/shared/shared_uwsgi.py:5:8 - warning: Import "uwsgi" could not be resolved (reportMissingImports) ```
2022-07-30[utils/searxng.sh] implement new script to install SearXNGMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-29[translations] update from Weblatesearxng-bot
c0c9107c - 2022-07-27 - Sangha Lee <totoriato@gmail.com> 5b48bce6 - 2022-07-24 - Linerly <linerly@protonmail.com> 79669e65 - 2022-07-29 - Markus Heiser <markus.heiser@darmarit.de> 520e9284 - 2022-07-25 - Markus Heiser <markus.heiser@darmarit.de> 7cf52ff5 - 2022-07-25 - Markus Heiser <markus.heiser@darmarit.de> 9d3ebe72 - 2022-07-24 - Markus Heiser <markus.heiser@darmarit.de> 2d03c097 - 2022-07-24 - Markus Heiser <markus.heiser@darmarit.de> 388af012 - 2022-07-27 - Markus Heiser <markus.heiser@darmarit.de> a4bcf098 - 2022-07-25 - Miguel Silva <miguelcabeca.dev@gmail.com> 93fd0b72 - 2022-07-27 - Markus Heiser <markus.heiser@darmarit.de> 8f68b206 - 2022-07-26 - tents <remendne@pentrens.jp> 9007c99c - 2022-07-24 - Markus Heiser <markus.heiser@darmarit.de> aeec96f2 - 2022-07-26 - Matija Kromar <matija.kromar@gmail.com> 69084863 - 2022-07-25 - Markus Heiser <markus.heiser@darmarit.de> b48190ab - 2022-07-24 - alexfs2015 <alex04fs@gmail.com> b6bbc0a5 - 2022-07-23 - Markus Heiser <markus.heiser@darmarit.de> 1a503806 - 2022-07-29 - Markus Heiser <markus.heiser@darmarit.de> c960cb93 - 2022-07-27 - Markus Heiser <markus.heiser@darmarit.de> 8a2bd34b - 2022-07-25 - Markus Heiser <markus.heiser@darmarit.de> 1064cea0 - 2022-07-23 - LagManCZ <lagmen@post.cz> 67423045 - 2022-07-24 - alexfs2015 <alex04fs@gmail.com> 56c87fda - 2022-07-24 - Markus Heiser <markus.heiser@darmarit.de> 36a64f1c - 2022-07-24 - Ankit Gupta <guptaa.ankitt@gmail.com>
2022-07-29Merge pull request #1580 from searxng/update_data_update_engine_descriptions.pyMarkus Heiser
Update searx.data - update_engine_descriptions.py
2022-07-29Merge pull request #1579 from searxng/update_data_update_currencies.pyMarkus Heiser
Update searx.data - update_currencies.py
2022-07-29Merge pull request #1578 from searxng/update_data_update_firefox_version.pyMarkus Heiser
Update searx.data - update_firefox_version.py
2022-07-29Merge pull request #1576 from searxng/update_data_update_languages.pyMarkus Heiser
Update searx.data - update_languages.py
2022-07-29Update searx.data - update_engine_descriptions.pydalf
2022-07-29Update searx.data - update_currencies.pydalf
2022-07-29Update searx.data - update_firefox_version.pydalf
2022-07-29Update searx.data - update_ahmia_blacklist.pydalf
2022-07-29Update searx.data - update_languages.pydalf
2022-07-26Revert "Quick fix for google engine for EU countries"Markus Heiser
This reverts commit 747cf1a246df587aeb3b6b175c315ef0b9612dc4.
2022-07-26[fix] google engine: results XPathLéon Tiekötter
2022-07-25Quick fix for google engine for EU countriesÉmilien Devos
This revert part of the commit of https://github.com/searxng/searxng/commit/5fb2071cb2248c0f0ada7affb0c47f841ddbf102
2022-07-25[fix] demo_online.py - fixed typoMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-25[fix] google & youtube - set EU consent cookieEmilien Devos
This change the previous bypass method for Google consent using ``ucbcb=1`` (6face215b8) to accept the consent using ``CONSENT=YES+``. The youtube_noapi and google have a similar API, at least for the consent[1]. Get CONSENT cookie from google reguest:: curl -i "https://www.google.com/search?q=time&tbm=isch" \ -A "Mozilla/5.0 (X11; Linux i686; rv:102.0) Gecko/20100101 Firefox/102.0" \ | grep -i consent ... location: https://consent.google.com/m?continue=https://www.google.com/search?q%3Dtime%26tbm%3Disch&gl=DE&m=0&pc=irp&uxe=eomtm&hl=en-US&src=1 set-cookie: CONSENT=PENDING+936; expires=Wed, 24-Jul-2024 11:26:20 GMT; path=/; domain=.google.com; Secure ... PENDING & YES [2]: Google change the way for consent about YouTube cookies agreement in EU countries. Instead of showing a popup in the website, YouTube redirects the user to a new webpage at consent.youtube.com domain ... Fix for this is to put a cookie CONSENT with YES+ value for every YouTube request [1] https://github.com/iv-org/invidious/pull/2207 [2] https://github.com/TeamNewPipe/NewPipeExtractor/issues/592 Closes: https://github.com/searxng/searxng/issues/1432
2022-07-24[fix] sjp engine - convert enginename to a latin1 compliance nameMarkus Heiser
The engine name is not only a *name* its also a identifier that is used in logs, HTTP headers and more. Unicode characters in the name of an engine could cause various issues. Closes: https://github.com/searxng/searxng/issues/1544 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-24[fix] emojipedia - update XPath to be relativejames-still
2022-07-23[fix] engine tineye: handle 422 response of not supported img formatMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/1449 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-22[translations] update from Weblatesearxng-bot
cf6e9482 - 2022-07-19 - Linerly <linerly@protonmail.com> 918c1bfe - 2022-07-20 - Markus Heiser <markus.heiser@darmarit.de> 4e65ecf6 - 2022-07-21 - calb sepherus <calb.sepherus@protonmail.com> a54be8fe - 2022-07-19 - Markus Heiser <markus.heiser@darmarit.de> cad6cb2f - 2022-07-19 - Markus Heiser <markus.heiser@darmarit.de> a6bd1170 - 2022-07-19 - Markus Heiser <markus.heiser@darmarit.de> 9d0e8754 - 2022-07-19 - Markus Heiser <markus.heiser@darmarit.de>
2022-07-19[mod] add tor_check plugin - convenient tor checking trough searxngSolirs
2022-07-17[fix] preferences: missing option valueLéon Tiekötter
Fix missing option value "0".
2022-07-15Merge pull request #1512 from searxng/translations_updateMarkus Heiser
Update translations
2022-07-15Merge pull request #1475 from return42/EmojipediaMarkus Heiser
[mod] Add engine for Emojipedia
2022-07-15Update searx.data - update_engine_descriptions.pyMarkus Heiser
./manage pyenv.cmd python ./searxng_extra/update/update_engine_descriptions.py Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-15[mod] Add engine for EmojipediaJay
Emojipedia is an emoji reference website which documents the meaning and common usage of emoji characters in the Unicode Standard. It is owned by Zedge since 2021. Emojipedia is a voting member of The Unicode Consortium.[1] Cherry picked from @james-still [2[3] and slightly modified to fit SearXNG's quality gates. [1] https://en.wikipedia.org/wiki/Emojipedia [2] https://github.com/james-still/searx/commit/2fc01eb20f8de5f9cac492dcdfb817a6f0636580 [3] https://github.com/searx/searx/pull/3278
2022-07-15[translations] update from Weblatesearxng-bot
e78584e1 - 2022-07-14 - Markus Heiser <markus.heiser@darmarit.de> eb3f2140 - 2022-07-14 - Markus Heiser <markus.heiser@darmarit.de> 9160b6d1 - 2022-07-14 - Markus Heiser <markus.heiser@darmarit.de> 18d569b8 - 2022-07-14 - Markus Heiser <markus.heiser@darmarit.de> c9137f9e - 2022-07-14 - Hachiki <ninonakano408@gmail.com> 14d8b61f - 2022-07-14 - Markus Heiser <markus.heiser@darmarit.de> c11e318d - 2022-07-09 - Linerly <linerly@protonmail.com> 4d53b3bb - 2022-07-12 - crazychicken1 <seymaomay1809@gmail.com> 613117bf - 2022-07-10 - Markus Heiser <markus.heiser@darmarit.de> e5e38305 - 2022-07-11 - Markus Heiser <markus.heiser@darmarit.de> 2bea37fa - 2022-07-10 - Markus Heiser <markus.heiser@darmarit.de> 5ab15881 - 2022-07-11 - Markus Heiser <markus.heiser@darmarit.de> 32794ad3 - 2022-07-11 - Markus Heiser <markus.heiser@darmarit.de> 830b01f9 - 2022-07-11 - Chris Capisce <christof1588@gmail.com> b4d431e5 - 2022-07-08 - John Doe <cryptiox@protonmail.com> c6d9841e - 2022-07-10 - tents <remendne@pentrens.jp> 68692656 - 2022-07-13 - Markus Heiser <markus.heiser@darmarit.de> 8cba6d36 - 2022-07-10 - Markus Heiser <markus.heiser@darmarit.de> fe457886 - 2022-07-08 - Markus Heiser <markus.heiser@darmarit.de> 95e7d403 - 2022-07-13 - Markus Heiser <markus.heiser@darmarit.de> f02673b1 - 2022-07-11 - Markus Heiser <markus.heiser@darmarit.de> 7d49be29 - 2022-07-10 - Markus Heiser <markus.heiser@darmarit.de> fbe6e4da - 2022-07-08 - Raúl Díaz <flan@chocoflan.net>
2022-07-10[mod] allow brand.issue_url to overwrite the step1 urlLéon Tiekötter
2022-07-10Merge pull request #1219 from dalf/follow_bing_redirectAlexandre Flament
bing.py: remove redirection links
2022-07-09bypass google consent with ucbcb=1Emilien Devos
2022-07-09Add infinite scroll as a setting in settings.ymlBrock Vojković
2022-07-08bing.py: resolve bing.com/ck/a redirectionsAlexandre Flament
add a new function searx.network.multi_requests to send multiple HTTP requests at once
2022-07-08Merge pull request #1478 from dalf/submit_bug_workflowAlexandre Flament
Engine error log: Submit a new issue button: ask the user to check if there are some existing issues.
2022-07-08locales.py: add support for PapiamentoAlexandre Flament
2022-07-08[translations] update from Weblatesearxng-bot
b1809ae3 - 2022-07-07 - visiks-vs <vls@visiks.lv> cf09e8b2 - 2022-07-07 - Markus Heiser <markus.heiser@darmarit.de> 5a854ba3 - 2022-07-07 - Markus Heiser <markus.heiser@darmarit.de> e3586433 - 2022-07-06 - John Doe <cryptiox@protonmail.com> 9465ae78 - 2022-07-07 - Markus Heiser <markus.heiser@darmarit.de> 1e1799d0 - 2022-07-07 - Markus Heiser <markus.heiser@darmarit.de> 56429ebb - 2022-07-07 - Markus Heiser <markus.heiser@darmarit.de> e1e040b1 - 2022-07-06 - watchakorn-18k <porton2559@gmail.com> d04f51ef - 2022-07-06 - Adriano Xavier <px.adriano@gmail.com> 1a09e45a - 2022-07-06 - John Doe <cryptiox@protonmail.com> fab4f6de - 2022-07-05 - Angelo B. J. Luidens <aluidens@stargue.com> 782eac5c - 2022-07-05 - watchakorn-18k <porton2559@gmail.com> 73f6dde9 - 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de> eb3bf7a4 - 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de> 5c337616 - 2022-07-03 - Sangha Lee <totoriato@gmail.com> 8511391a - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> 816ec364 - 2022-07-02 - Morten R. Bjørklund <mortenrb@live.no> 24adf82f - 2022-07-04 - 0xFFD <barann.afsarr@gmail.com> 25e13dcf - 2022-07-04 - networkneil <shankyneil1@gmail.com> f2008c36 - 2022-07-03 - Markus Heiser <markus.heiser@darmarit.de> 79b9b12a - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> 1f2f61c8 - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> e7a1cd6e - 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de> fc02ccbf - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> 3d1afa88 - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> 95c871d2 - 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de> f8825dd1 - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> a781c97c - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> 7290ce9c - 2022-07-02 - John Doe <cryptiox@protonmail.com> 0a1286c5 - 2022-07-02 - tents <remendne@pentrens.jp> baa49eef - 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de> 3d3fbc15 - 2022-07-03 - Kuka Manó <dumpster@perjel.hu> a1eb8798 - 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de> a08b01a6 - 2022-07-02 - Xosé M <correo@xmgz.eu> 35634446 - 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de> 8d1fe456 - 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de> 805da3b0 - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> c6f02cee - 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de> cd824613 - 2022-07-03 - Markus Heiser <markus.heiser@darmarit.de> 6a4b41ee - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> 53eb448a - 2022-07-03 - adriadam10 <adriadam10@gmail.com> 7012f643 - 2022-07-03 - Gerard Oliva Viñas <oliva3032001@gmail.com> 51ea1d58 - 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de> 744d130c - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> e92d37cd - 2022-07-05 - Angelo B. J. Luidens <aluidens@stargue.com> 4576e883 - 2022-07-05 - watchakorn-18k <porton2559@gmail.com> da7a9b10 - 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de> f20a317f - 2022-07-04 - networkneil <shankyneil1@gmail.com> cab15b15 - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> 12d6021c - 2022-07-04 - niele2 <arifshafie.K@gmail.com> c86a3738 - 2022-07-04 - niele2 <arifshafie.K@gmail.com> 9c6d05e2 - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de> 2b6ca751 - 2022-07-02 - Kuka Manó <dumpster@perjel.hu> 55e9663c - 2022-07-02 - Albin Håkanson <albin@sweplox.se> 49fac625 - 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
2022-07-08[build] /staticAlexandre Flament
2022-07-08Submit GH bug: ask the user to do some checks before submitting a new issueAlexandre Flament
2022-07-07Update searx.data - update_engine_descriptions.pyMarkus Heiser
./manage pyenv.cmd python ./searxng_extra/update/update_engine_descriptions.py Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-07Merge pull request #1443 from return42/fix-online_dictionaryMarkus Heiser
[fix] online_dictionary: regular expression
2022-07-07[fix] online_dictionary: regular expressionMarkus Heiser
The query term of a engine-type `online_dictionary` can consist of more than one word. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-07Merge pull request #1428 from return42/fix-center_aligmentAlexandre Flament
fix typo and document preference 'center_alignment' in the 'ui' section
2022-07-06Merge pull request #1457 from return42/fix-1435Markus Heiser
[fix] engine z-zlibrary https URL
2022-07-06Merge pull request #1460 from unixfox/patch-1Markus Heiser
Better explanation for the use of use_mobile_ui
2022-07-06Better explanation for the use of use_mobile_uiÉmilien Devos
2022-07-05fix: return body on limiter block so there is not just a blank pagemrpaulblack
2022-07-05[fix] engine z-zlibrary https URLMarkus Heiser
before this patch: DEBUG searx.engines.z-library : using base_url: https:https://de1lib.org with this patch URL is fixed to: DEBUG searx.engines.z-library : using base_url: https://de1lib.org Closes: https://github.com/searxng/searxng/issues/1435 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-04[build] /staticMarkus Heiser
2022-07-04[fix] style.less: move <dl> from infobox.attributes to .attributes classMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-04[mod] Adds Lingva translate engineta
Add the lingva engine (which grabs data from google translate). Results from Lingva are added to the infobox results.