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
Alexandre Flament
34df0f7910
[fix] youtube_noapi engine
4 years ago
Alexandre Flament
3038052c79
[mod] remove unused import
...
use
from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url # NOQA
so it is possible to easily remove all unused import using autoflake:
autoflake --in-place --recursive --remove-all-unused-imports searx tests
4 years ago
Alexandre Flament
2006eb4680
[mod] move extract_text, extract_url to searx.utils
4 years ago
Dalf
1022228d95
Drop Python 2 (1/n): remove unicode string and url_utils
4 years ago
Adam Tauber
6c06286251
[enh] add length and author details to youtube videos
...
closes #775
4 years ago
Dalf
0c032c8429
[fix] youtube_noapi engine: fix the title
5 years ago
Dalf
45702b77ca
embedded iframe (youtube, dailymotion, vimeo): use https
5 years ago
Marc Abonce Seguin
f2d49a6971
[fix] get youtube results from js object
...
Results are not appearing in the html document anymore,
instead they are found inside an object embedded in a script.
6 years ago
Adam Tauber
52e615dede
[enh] py3 compatibility
7 years ago
Noémi Ványi
b034356825
add year filter to engines with time range support && tests
...
Following engines does not support "Last year":
* Bing News
* DeviantArt
* DuckDuckGo
* Yahoo
* YouTube (noapi)
8 years ago
Noémi Ványi
d2e0cbafb2
add time range search for youtube noapi
8 years ago
Dalf
dafedbfc55
youtube_noapi uses searx.utils.list_get
9 years ago
Dalf
4e0f079a8c
[fix] youtube_noapi : don't crash when there is no content
9 years ago
Cqoicebordel
f965c97822
Adds two engines : Youtube with or without API
...
The API needs an API_KEY
The NOAPI doesn't have the published dates.
9 years ago