summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-12data-update.yml: run on searx orgAlexandre Flament
2021-02-12data-update.yml: run on FridayAlexandre Flament
give the weekend to review the PR
2021-02-12Merge pull request #2559 from dalf/upd-duckduckgoAlexandre Flament
[fix] duckduckgo engine: "!ddg !g" do not redirect to google
2021-02-12[fix] duckduckgo engine: "!ddg !g" do not redirect to googleAlexandre Flament
* searx understand "!ddg !g time" as : send "!g time" to DDG * !g a DDG bang for Google: DDG return a HTTP redirect to Google This commit adds a the allows_redirect param not to follow HTTP redirect. The DDG engine returns a empty result as before without HTTP redirect.
2021-02-12Merge pull request #2562 from dalf/mod-json-engineAlexandre Flament
[mod] json_engine: add content_html_to_text and title_html_to_text
2021-02-12Merge pull request #2565 from dalf/upd-wikipediaAlexandre Flament
[upd] wikipedia engine: return an empty result on query with illegal characters
2021-02-12Merge pull request #2564 from dalf/fix-seznamAlexandre Flament
[fix] fix seznam engine
2021-02-12Merge pull request #2560 from dalf/fix-duckduckgoAlexandre Flament
Fix duckduckgo
2021-02-12Merge pull request #2557 from dalf/fix-raise_for_httperrorAlexandre Flament
Fix: activate raise_for_error by default
2021-02-11Merge pull request #2541 from return42/mediathekviewwebAlexandre Flament
[enh] add engine MediathekViewWeb (API)
2021-02-11[fix] fix seznam engineAlexandre Flament
no paging support
2021-02-11[upd] wikipedia engine: return an empty result on query with illegal charactersAlexandre Flament
on some queries (like an IT error message), wikipedia returns an HTTP error 400. this commit returns an empty result instead of showing an error to the user.
2021-02-10[mod] json_engine: add content_html_to_text and title_html_to_textAlexandre Flament
Some JSON API returns HTML in either in the HTML or the content. This commit adds two new parameters to the json_engine: content_html_to_text and title_html_to_text, False by default. If True, then the searx.utils.html_to_text removes the HTML tags. Update crossref, openairedatasets and openairepublications engines
2021-02-10Merge pull request #2544 from mrwormo/congresslibraryAlexandre Flament
[Engine] Add Library of Congress engine
2021-02-10Merge pull request #2556 from dalf/fix-apk-mirrorAlexandre Flament
[fix] fix apk_mirror engine
2021-02-10Merge pull request #2558 from dalf/remove-google-play-musicAlexandre Flament
[upd] remove google_play_music engine
2021-02-09[mod] duckduckgo engine: better support of the language preferenceAlexandre Flament
After the main request, send a second to https://duckduckgo.com/t/sl_h See https://github.com/searx/searx/issues/2259
2021-02-09[mod] poolrequests: for one (user request, engine) always use the same ↵Alexandre Flament
HTTPAdapter The duckduckgo engine requires an additional request after the results have been sent. This commit makes sure that the second request uses the same HTTPAdapter = the same IP address, and the same proxy.
2021-02-09[enh] add engine MediathekViewWeb (API)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-02-09Add Library of Congress enginemrwormo
2021-02-09[upd] remove google_play_music engineAlexandre Flament
Google Play Music has been replaced by Youtube music.
2021-02-09Fix: activate raise_for_error by defaultAlexandre Flament
Fix commit d703119d3a313a406482b121ee94c6afee3bc307 : Some engines need to parse the HTTP error but raise_for_error is always set to False in the "request" function.
2021-02-09[fix) fix apk_mirror engineAlexandre Flament
2021-02-09Merge pull request #2555 from dalf/fix-github-data-updateAlexandre Flament
[fix] fix github action data-update.yml
2021-02-09[fix] fix github action data-update.ymlAlexandre Flament
2021-02-09Merge pull request #2542 from kvch/fix-naver-engineAlexandre Flament
Fix XPATHs in Naver engine
2021-02-09Merge pull request #2554 from MarcAbonce/zh-variants-in-wikipediaAlexandre Flament
Add support for Chinese variants in Wikipedia
2021-02-09Merge pull request #2553 from danielhones/improve-results-highlighting-updatedAlexandre Flament
Ignore double-quotes when highlighting query parts
2021-02-08Updated webutils.highlight_content to ignore double-quotes when highlighting ↵Daniel Hones
query parts
2021-02-08add support for Chinese variants in WikipediaMarc Abonce Seguin
2021-02-07Fix naver engineNoémi Ványi
Closes #2540
2021-02-07Merge pull request #2538 from return42/drop-metagerNoémi Ványi
[drop] metager - xpath engine won't work anymore
2021-02-07[drop] metager - xpath engine won't work anymoreMarkus Heiser
The new version of MetaGer needs to reload the reults (into a iframe) with a unique tag (see HTML response below). Implementing a dedicated metager-engine for searx makes no sense to me. The great days of MetaGer seems to be ended. I remember the good old days this project started in the 90's of the last century. But in the last few years it becomes more and more crap. As the name suggested, MetaGer was made for germans in the first place. They have added a english and spain translation but the i18n is very poor compared to what searx offers. It's a pity, lets drop MetaGer. This is the first response, the id (b82679980656899ba5a17ffd02a56846) is unique for each query: $ curl "https://metager.org/meta/meta.ger3?eingabe=foo&submit-query=&focus=web" <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="/index.css?id=b82679980656899ba5a17ffd02a56846"> <script src="/index.js?id=b82679980656899ba5a17ffd02a56846"></script> <title>foo - MetaGer</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> </head> <body> <iframe id="mg-framed" src="https://metager.org/meta/meta.ger3?eingabe=foo&amp;submit-query=&amp;focus=web&amp;mgv=b82679980656899ba5a17ffd02a56846" autofocus="true" onload="this.contentWindow.focus();"></iframe> </body> Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-02-07Merge pull request #2539 from OliveiraHermogenes/recoll/paged_jsonNoémi Ványi
[feat] recoll: add support for paging
2021-02-07[feat] recoll: paged json supportHermógenes Oliveira
2021-02-05Merge pull request #2531 from MarcAbonce/fix-browser-localeAlexandre Flament
[fix] Get correct locale with country from browser
2021-02-04[fix] get correct locale with country from browserMarc Abonce Seguin
Some of our interface locales include uppercase country codes, which are separated by `_` instead of the more common `-`. Also, a browser's `Accept-Language` header could be in lowercase. This commit attempts to normalize those cases so a browser's language+country codes can better match with our locales. This solution assumes that our UI locales have nothing more than language and optionally country. If we ever add a script specific locale like `zh-Hant-TW` this would have to change to accomodate that, but the idea would be pretty much the same as this fix.
2021-02-04Merge pull request #2528 from dalf/mod-ci-gh-pagesAlexandre Flament
[mod] CI: minor changes
2021-02-04Merge pull request #2533 from mrwormo/ccengineNoémi Ványi
[Engine] Add Creative Commons search engine
2021-02-04Add Creative Commons search enginemrwormo
2021-02-02Merge pull request #2530 from return42/fix-user-hbNoémi Ványi
[fix] make books/user.pdf
2021-02-02[fix] make books/user.pdfMarkus Heiser
Error: Configuration error: There is a programmable error in your configuration file: ... NameError: name 'DOCS_URL' is not defined make: *** [utils/makefile.sphinx:156: books/user.latex] Fehler 2 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-02-02[mod] CI: minor changesAlexandre Flament
* utils/makefile.python: travis-gh-pages renamed ci-gh-pages
2021-02-01Merge pull request #2500 from dalf/github-action-dataAlexandre Flament
[enh] every Sunday, call utils/fetch_*.py scripts and create a PR automatically
2021-02-01Merge pull request #2499 from dalf/remove-language-support-variableAlexandre Flament
[mod] dynamically set language_support variable
2021-02-01[mod] dynamically set language_support variableAlexandre Flament
The language_support variable is set to True by default, and set to False in only 5 engines. Except the documentation and the /config URL, this variable is not used. This commit remove the variable definition in the engines, and set value according to supported_languages length: False when the length is 0, True otherwise. Close #2485
2021-02-01Merge pull request #2514 from return42/fix-gh-pagesAlexandre Flament
[fix] Makefile target gh-pages & flatten history of branch gh.pages
2021-02-01Merge pull request #2517 from dalf/debug-ciAlexandre Flament
Update pyenv pyenvinstall Make targets
2021-02-01[hardening] github workflows - corrupted cacheMarkus Heiser
aka: ensure that 'make test' works as expected The cache contains a copy './local' which is - under some circumstance - corrupted. It is not possible to clear the cache [1] (see the top of the page). Ensure that 'make test' works as expected [2] even if - the python interpreter is missing - the virtualenv exists but pyyaml is missing To hardening when the workflow cache fails, this patch adds the new target 'travis.test' into the workflow. This target probes to import a python module 'yaml'. If this fails the virtualenv will be completely new build. [1] https://github.com/actions/cache/issues/2#issuecomment-673493515 [2] https://github.com/searx/searx/pull/2517#discussion_r567240235 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-02-01[fix] re-add 'pip-exe' target - partial revert 9b48ae47Markus Heiser
Target pip-exe is a prerequisite of the targets: - pyinstall - pyuninstall and was accidentally deleted in commit 9b48ae47. HINT: do not confuse pyinstall with penvinstall pyinstall & pyuninstall Installing into user's HOME using pip from OS, therefore the message is needed. pyenvinstall & pyenvuninstall Installing into virtualenv (./local) using pip which is provided by prerequisite 'pyenv' in the virtualenv. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>