Alexandre Flament
88a96baedc
[enh] replace requests by httpx
2021-05-03 21:39:37 +02:00
Alexandre Flament
4415d25485
[fix] test: avoid HTTP requests
...
patch engine initialization to skip HTTP request
(engine_init function in searx.engines.initialize_engines)
2021-05-03 21:39:24 +02:00
Adam Tauber
f045c385d1
Merge pull request #2799 from MarcAbonce/fix_qwant_locales
...
Fix Qwant's fetch_languages function
2021-05-03 12:13:07 +02:00
Marc Abonce Seguin
3284132ae5
fix Qwant's fetch_languages function
2021-05-02 17:24:28 -07:00
Noémi Ványi
540959b524
Merge pull request #2790 from searx/dependabot/pip/master/pylint-2.8.2
...
Bump pylint from 2.7.4 to 2.8.2
2021-05-02 20:58:14 +02:00
dependabot[bot]
9c7090d4e6
Bump pylint from 2.7.4 to 2.8.2
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.7.4 to 2.8.2.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.7.4...v2.8.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-02 18:54:30 +00:00
Noémi Ványi
5d2b5d87a9
ignore new pylint warning in testing.py
2021-05-02 20:53:22 +02:00
Noémi Ványi
70c439aee5
Merge pull request #2797 from searx/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2021-05-02 20:41:49 +02:00
kvch
426ce34253
Update searx.data - update_ahmia_blacklist.py
2021-05-02 18:37:28 +00:00
kvch
c06cfec774
Update searx.data - update_wikidata_units.py
2021-05-02 20:27:26 +02:00
kvch
065322e413
Update searx.data - update_currencies.py
2021-05-02 20:26:48 +02:00
Noémi Ványi
3574aa1070
Merge pull request #2796 from searx/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2021-05-02 20:26:16 +02:00
kvch
24326ee060
Update searx.data - update_firefox_version.py
2021-05-02 18:20:29 +00:00
Noémi Ványi
e9a390f5d2
fix path to manage script in GH workflow
2021-05-02 20:08:37 +02:00
Noémi Ványi
58bcd685c3
Merge pull request #2789 from searx/dependabot/pip/master/babel-2.9.1
...
Bump babel from 2.9.0 to 2.9.1
2021-05-02 19:57:34 +02:00
dependabot[bot]
41b317cd3c
Bump babel from 2.9.0 to 2.9.1
...
Bumps [babel](https://github.com/python-babel/babel ) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/python-babel/babel/releases )
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES )
- [Commits](https://github.com/python-babel/babel/compare/v2.9.0...v2.9.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 06:15:59 +00:00
Pierre Chevalier
3a0f896b68
[enh] Add Springer Nature engine
...
Springer Nature is a global publisher dedicated to providing service to research
community [1] with official API [2].
To test this PR, first get your API key following this page:
https://dev.springernature.com/signup
In searx/engines/springer.py at line 24, add this API key. I left my own key,
commented out in the line aboce. Feel free to use it, if needed.
[1] https://www.springernature.com/
[2] https://dev.springernature.com/
2021-04-29 22:43:52 +02:00
Noémi Ványi
839e5b1e9d
Use oadoi.org as default_doi_resolver
2021-04-29 22:43:52 +02:00
spongebob33
6513a56064
add core.ac.uk engine
2021-04-29 22:43:52 +02:00
Noémi Ványi
ff850f4961
Merge pull request #2706 from aurora-vasiliev/master
...
[enh] add DOI resolver from sci-hub
2021-04-29 22:20:50 +02:00
Noémi Ványi
7463250e76
Merge branch 'master' into master
2021-04-29 22:16:51 +02:00
Noémi Ványi
dee75accf6
Fix remote PEP8 errors as well
2021-04-29 22:05:31 +02:00
Markus Heiser
aa8288a963
[fix doc] manage.sh update_packages does not exists anymore
...
Reported-by: https://github.com/searx/searx/issues/2776
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-29 21:52:49 +02:00
Noémi Ványi
5cb29f6e46
Fix pep8 errors of database engines
2021-04-29 21:50:25 +02:00
3nprob
fc4bf4bf10
Add hostname_replace plugin
2021-04-29 21:48:05 +02:00
Noémi Ványi
c00a33feee
Add MySQL engine
2021-04-29 21:41:58 +02:00
Noémi Ványi
22079ffdef
Add PostgreSQL engine
2021-04-29 21:41:38 +02:00
Markus Heiser
34d7d97e1e
[fix] youtube - send CONSENT Cookie to not be redirected
...
In the EU there exists a "General Data Protection Regulation" [1] aka GDPR (BTW:
very user friendly!) which requires consent to tracking. To get the consent
from the user, youtube requests are redirected to confirm and get a CONSENT
Cookie from https://consent.youtube.com
This patch adds a CONSENT Cookie to the youtube request to avoid redirection.
[1] https://en.wikipedia.org/wiki/General_Data_Protection_Regulation
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Reported-by: https://github.com/searx/searx/issues/2774
2021-04-29 21:40:39 +02:00
Noémi Ványi
f1058070f3
Merge pull request #2786 from mikeri/solidtorrents
...
Fix URL to solidtorrent result page
2021-04-29 21:29:59 +02:00
Noémi Ványi
b8b7dcc3e1
Merge pull request #2716 from return42/fix-url-bar-suggestion
...
[fix] url bar autocomplete (opensearch suggestions)
2021-04-29 21:26:43 +02:00
Michael Ilsaas
de0b735f3a
Fix URL to solidtorrent result page
2021-04-28 23:57:54 +02:00
Adam Tauber
4828faaa07
[fix] exit on failure of creating environment to avoid endless loop in this case
2021-04-23 19:09:24 +02:00
Adam Tauber
f7706a5c7f
Merge pull request #2594 from return42/manage-script
...
Replace Makefile boilerplate by shell scripts
2021-04-23 18:59:36 +02:00
Adam Tauber
28b3975aa8
Merge pull request #2760 from return42/fix-preference-save
...
[fix] redirect when saving preferences
2021-04-23 18:54:20 +02:00
Adam Tauber
4a85e6bec7
Merge pull request #2767 from searx/dependabot/pip/master/sphinx-3.5.4
...
Bump sphinx from 3.5.3 to 3.5.4
2021-04-21 18:12:23 +02:00
Adam Tauber
a533fdc2bc
Merge pull request #2768 from Zackptg5/patch-1
...
Fix typo
2021-04-21 18:12:05 +02:00
Adam Tauber
2fa5f7af81
Merge pull request #2675 from dalf/oscar-images
...
[enh] oscar: image thumbnail layout
2021-04-21 15:31:12 +02:00
Zackptg5
a922b1c35f
Fix typo
2021-04-16 16:59:46 -04:00
Noémi Ványi
8362257b9a
Merge pull request #2736 from plague-doctor/sjp
...
Add new engine: SJP - Słownik języka polskiego
2021-04-16 17:30:14 +02:00
Noémi Ványi
e56323d3c8
Merge pull request #2759 from ypid/fix/typo
...
Fix grammar mistake in debug log output
2021-04-16 17:26:45 +02:00
Noémi Ványi
312a51566c
Merge pull request #2764 from mikamp116/patch-1
...
Fix bug for 'FileNotFoundError' in 'standalone_searx.py'
2021-04-16 17:26:21 +02:00
Noémi Ványi
59df3bec28
Merge pull request #2763 from return42/add-bandcamp
...
Add Bandcamp search engine
2021-04-16 17:25:59 +02:00
dependabot[bot]
10f9146c55
Bump sphinx from 3.5.3 to 3.5.4
...
Bumps [sphinx](https://github.com/sphinx-doc/sphinx ) from 3.5.3 to 3.5.4.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES )
- [Commits](https://github.com/sphinx-doc/sphinx/commits/v3.5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-16 06:04:21 +00:00
Plague Doctor
d275d7a35e
Code refactoring.
2021-04-16 12:23:27 +10:00
Markus Heiser
f637bfc635
[mod] oscar's "default" template should make use of result.thumbnail
...
Some engine do have set result.img_src, other return a result.thumbnail. If
result.img_src is unset and a result.thumbnail is given, show it to the UI.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-15 08:52:11 +02:00
Markus Heiser
062d589f86
[fix] xpath expressions to grap all items from bandcamp's response
...
I also found some items missing a thumbnail and I used text_extract for content
and title, to remove unneeded whitespaces.
BTW: added bandcamp's favicon
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-15 08:52:11 +02:00
Kyle Anthony Williams
4d3c399ee9
[feat] add bandcamp engine
2021-04-15 08:52:11 +02:00
Mikayel Mardanyan Petrosyan
4652ef0f06
Update standalone_searx.py
...
Fix bug for 'FileNotFoundError: [Errno 2] No such file or directory: 'utils/standalone_searx.py' ' in example to run standalone_searx.py from python
2021-04-13 22:26:45 +02:00
Markus Heiser
34abad95df
[doc] modify docs to fit to the new build boilerplate
...
Signed-off-by: Markus Heiser <markus@darmarit.de>
2021-04-12 16:55:06 +02:00
Markus Heiser
f55babc23c
[mod] replace makefile boilerplate by 'manage' script
...
Replaces the make targets with the bash scripts
Signed-off-by: Markus Heiser <markus@darmarit.de>
2021-04-12 16:55:06 +02:00