예제 #1
0
파일: __init__.py 프로젝트: BBaoVanC/searx
def initialize(settings_engines=None, enable_checker=False, check_network=False):
    settings_engines = settings_engines or settings['engines']
    initialize_processors(settings_engines)
    if check_network:
        check_network_configuration()
    if enable_checker:
        initialize_checker()
예제 #2
0
파일: __init__.py 프로젝트: searxng/searxng
def initialize(settings_engines=None, enable_checker=False):
    settings_engines = settings_engines or settings['engines']
    load_engines(settings_engines)
    initialize_network(settings_engines, settings['outgoing'])
    initialize_metrics([engine['name'] for engine in settings_engines])
    initialize_processors(settings_engines)
    if enable_checker:
        initialize_checker()
예제 #3
0
def initialize(settings_engines=None, enable_checker=False):
    settings_engines = settings_engines or settings['engines']
    initialize_processors(settings_engines)
    initialize_metrics([engine['name'] for engine in settings_engines])
    if enable_checker:
        initialize_checker()
예제 #4
0
파일: __init__.py 프로젝트: rurbin3/searx
def initialize(settings_engines=None):
    settings_engines = settings_engines or settings['engines']
    initialize_processors(settings_engines)
예제 #5
0
def initialize(settings_engines=None, enable_checker=False):
    settings_engines = settings_engines or settings['engines']
    initialize_processors(settings_engines)
    if enable_checker:
        initialize_checker()