From ca93a018444041f64c193b4e623b9d6d1150b042 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sun, 24 Jan 2021 09:58:57 +0100 Subject: [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 --- searx/engines/dailymotion.py | 1 - 1 file changed, 1 deletion(-) (limited to 'searx/engines/dailymotion.py') diff --git a/searx/engines/dailymotion.py b/searx/engines/dailymotion.py index 874e0f42a..92d368c11 100644 --- a/searx/engines/dailymotion.py +++ b/searx/engines/dailymotion.py @@ -21,7 +21,6 @@ about = { # engine dependent config categories = ['videos'] paging = True -language_support = True # search-url # see http://www.dailymotion.com/doc/api/obj-video.html -- cgit v1.2.3