SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] selenium: binary is not a Firefox executable
Markus Heiserd45dea56c503
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.ymlindex acc9b0255..bcf539581 100644--- a/.github/workflows/integration.yml+++ b/.github/workflows/integration.yml@@ -23,26 +23,11 @@ jobs:- name: Install Ubuntu packagesrun: |sudo ./utils/searxng.sh install packages- sudo apt install firefox- name: Set up Pythonuses: actions/setup-python@v5with:python-version: ${{ matrix.python-version }}architecture: 'x64'- - name: Cache Python dependencies- id: cache-python- uses: actions/cache@v4- with:- path: |- ./local- ./.nvm- ./node_modules- key: python-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements*.txt', 'setup.py') }}- - name: Install Python dependencies- if: steps.cache-python.outputs.cache-hit != 'true'- run: |- make V=1 install- make V=1 gecko.driver- name: Run testsrun: make V=1 ci.testdiff --git a/tests/robot/__main__.py b/tests/robot/__main__.pyindex 7f380aeda..0b438745e 100644--- a/tests/robot/__main__.py+++ b/tests/robot/__main__.py@@ -7,6 +7,7 @@ import osimport subprocessimport tracebackimport pathlib+import shutilfrom splinter import Browser@@ -53,6 +54,9 @@ class SearxRobotLayer:def run_robot_tests(tests):print('Running {0} tests'.format(len(tests)))+ print(f'{shutil.which("geckodriver")}')+ print(f'{shutil.which("firefox")}')+for test in tests:with Browser('firefox', headless=True, profile_preferences={'intl.accept_languages': 'en'}) as browser:test(browser)diff --git a/utils/searxng.sh b/utils/searxng.shindex a1bce5f9f..c6c9d5ea8 100755--- a/utils/searxng.sh+++ b/utils/searxng.sh@@ -62,7 +62,7 @@ uwsgi uwsgi-plugin-python3git build-essential libxslt-dev zlib1g-dev libffi-dev libssl-dev"SEARXNG_BUILD_PACKAGES_debian="\-firefox graphviz imagemagick texlive-xetex librsvg2-bin+graphviz imagemagick texlive-xetex librsvg2-bintexlive-latex-recommended texlive-extra-utils fonts-dejavulatexmk shellcheck"@@ -74,7 +74,7 @@ uwsgi uwsgi-plugin-pythongit base-devel libxml2"SEARXNG_BUILD_PACKAGES_arch="\-firefox graphviz imagemagick texlive-bin extra/librsvg+graphviz imagemagick texlive-bin extra/librsvgtexlive-core texlive-latexextra ttf-dejavu shellcheck"# dnf packages@@ -85,7 +85,7 @@ uwsgi uwsgi-plugin-python3git @development-tools libxml2 openssl"SEARXNG_BUILD_PACKAGES_fedora="\-firefox graphviz graphviz-gd ImageMagick librsvg2-tools+graphviz graphviz-gd ImageMagick librsvg2-toolstexlive-xetex-bin texlive-collection-fontsrecommendedtexlive-collection-latex dejavu-sans-fonts dejavu-serif-fontsdejavu-sans-mono-fonts ShellCheck"