Commit Graph

16 Commits (3d96a9839a12649874b6d4cf9466bd3616b0a03c)

Author SHA1 Message Date
Markus Heiser 3d96a9839a [format.python] initial formatting of the python code
This patch was generated by black [1]::

    make format.python

[1] https://github.com/psf/black

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament ff84a1af35 [mod] json_engine: add content_html_to_text and title_html_to_text
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
3 years ago
Alexandre Flament a4dcfa025c [enh] engines: add about variable
move meta information from comment to the about variable
so the preferences, the documentation can show these information
3 years ago
Alexandre Flament 8659212f5a [fix] drop Python 2: use collections.abc.Iterable instead of collections.Iterable 4 years ago
Dalf 1022228d95 Drop Python 2 (1/n): remove unicode string and url_utils 4 years ago
Adam Tauber 0969e50c5b [fix] convert json engine result attributes to string - closes #1006 7 years ago
Adam Tauber 7a9b18e9e9 [mod] add more error handling to json engine II. 7 years ago
Adam Tauber 181f1c6305 [mod] add more error handling to json engine 7 years ago
Adam Tauber 52e615dede [enh] py3 compatibility 7 years ago
David A Roberts 1e9dab08e6 [fix] behaviour for page_size>1 and first_page_num>0
eg. pageno=1,21,41,... instead of 20,40,60,...
8 years ago
David A Roberts 61fe5daf30 Add Microsoft Academic search engine 8 years ago
David A Roberts 117d36b66e Add Crossref search engine and DOAI rewrite plugin 8 years ago
Alexandre Flament 4689fe341c update versions.cfg to use the current up-to-date packages 9 years ago
asciimoo c1d7d30b8e [mod] len() removed from conditions 10 years ago
asciimoo b2492c94f4 [fix] pep/flake8 compatibility 11 years ago
asciimoo 1cb489ba1a [enh] json engine added 11 years ago