Alexandre Flament
ca93a01844
[mod] dynamically set language_support variable
...
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
4 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
4 years ago
Dalf
1022228d95
Drop Python 2 (1/n): remove unicode string and url_utils
4 years ago
Dalf
d44677e226
[fix] dailymotion engine: remove HTML tags from the description
5 years ago
Dalf
45702b77ca
embedded iframe (youtube, dailymotion, vimeo): use https
5 years ago
Noémi Ványi
b63d645a52
Revert "remove 'all' option from search languages"
...
This reverts commit 4d1770398a
.
6 years ago
Marc Abonce Seguin
772c048d01
refactor engine's search language handling
...
Add match_language function in utils to match any user given
language code with a list of engine's supported languages.
Also add language_aliases dict on each engine to translate
standard language codes into the custom codes used by the engine.
7 years ago
marc
4d1770398a
remove 'all' option from search languages
7 years ago
Adam Tauber
52e615dede
[enh] py3 compatibility
8 years ago
marc
af35eee10b
tests for _fetch_supported_languages in engines
...
and refactor method to make it testable without making requests
8 years ago
marc
f62ce21f50
[mod] fetch supported languages for several engines
...
utils/fetch_languages.py gets languages supported by each engine and
generates engines_languages.json with each engine's supported language.
8 years ago
marc
a11948c71b
Add language support for more engines.
8 years ago
Adam Tauber
16bdc0baf4
[mod] do not escape html content in engines
8 years ago
Adam Tauber
93fd1e4c76
Merge pull request #308 from dalf/versions_upgrade
...
update versions.cfg to use the current up-to-date packages
10 years ago
Alexandre Flament
4689fe341c
update versions.cfg to use the current up-to-date packages
10 years ago
Alexandre Flament
78edc16e66
[enh] reduce the number of http outgoing connections.
...
engines that still use http : gigablast, bing image for thumbnails, 1x and dbpedia autocompleter
10 years ago
Cqoicebordel
4a195e0b28
Integrated media in results + Deezer Engine
...
New "embedded" item for the results, allow to give an iframe to display the media directly in the results.
Note that the attributes src of the iframes are not set, but instead data-src is set, allowing to only load the iframe when clicked.
Deezer engine based on public API (no key).
10 years ago
dalf
7c13d630e4
[fix] pep8 : engines (errors E121, E127, E128 and E501 still exist)
10 years ago
Dalf
7f1e2ba211
[enh] dailymotion engine: add language support
10 years ago
Thomas Pointhuber
90dcfc1ddd
fix dailymotion engine and add comments to it
10 years ago
Gabor Nagy
22fd0746d9
Improves PEP8 compatibility.
11 years ago
asciimoo
5d54c7d500
[enh] paging support for dailymotion
11 years ago
asciimoo
b2492c94f4
[fix] pep/flake8 compatibility
11 years ago
Matej Cotman
dd4662978d
fix: robot fw, entry points, some flake8, package searx egg
11 years ago
asciimoo
4f4cb1caca
[enh] results favico handling
11 years ago
Dalf
49c85fce51
[fix] dailymotion engine : no more html tag in the description
11 years ago
dalf
d3e272d035
add dailymotion engine
11 years ago