Browse Source

Merge pull request #286 from return42/patches-from-allendema

Cherry pick some fixes from @allendema
Markus Heiser 3 years ago
parent
commit
018537080c
4 changed files with 7 additions and 7 deletions
  1. 2 2
      searx/engines/invidious.py
  2. 1 1
      searx/engines/rumble.py
  3. 2 2
      utils/filtron.sh
  4. 2 2
      utils/morty.sh

+ 2 - 2
searx/engines/invidious.py

@@ -10,9 +10,9 @@ import random
 
 # about
 about = {
-    "website": 'https://instances.invidio.us/',
+    "website": 'https://api.invidious.io/',
     "wikidata_id": 'Q79343316',
-    "official_api_documentation": 'https://github.com/omarroth/invidious/wiki/API',
+    "official_api_documentation": 'https://github.com/iv-org/documentation/blob/master/API.md',
     "use_official_api": True,
     "require_api_key": False,
     "results": 'JSON',

+ 1 - 1
searx/engines/rumble.py

@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 """
- Wikipedia (Web
+ Rumble (Videos)
 """
 from urllib.parse import urlencode
 from lxml import html

+ 2 - 2
utils/filtron.sh

@@ -207,7 +207,7 @@ install_all() {
     wait_key
     echo
     if ! service_is_available "http://${FILTRON_LISTEN}" ; then
-        err_msg "Filtron does not listening on: http://${FILTRON_LISTEN}"
+        err_msg "Filtron is not listening on: http://${FILTRON_LISTEN}"
     fi
     if apache_is_installed; then
         info_msg "Apache is installed on this host."
@@ -375,7 +375,7 @@ EOF
     fi
 
     if ! service_is_available "http://${FILTRON_LISTEN}" ; then
-        err_msg "Filtron does not listening on: http://${FILTRON_LISTEN}"
+        err_msg "Filtron is not listening on: http://${FILTRON_LISTEN}"
     fi
 
     if service_is_available "http://${FILTRON_TARGET}" ; then

+ 2 - 2
utils/morty.sh

@@ -221,7 +221,7 @@ install_all() {
     systemd_install_service "${SERVICE_NAME}" "${SERVICE_SYSTEMD_UNIT}"
     wait_key
     if ! service_is_available "http://${MORTY_LISTEN}" ; then
-        err_msg "Morty does not listening on: http://${MORTY_LISTEN}"
+        err_msg "Morty is not listening on: http://${MORTY_LISTEN}"
     fi
     if apache_is_installed; then
         info_msg "Apache is installed on this host."
@@ -359,7 +359,7 @@ EOF
     fi
 
     if ! service_is_available "http://${MORTY_LISTEN}" ; then
-        err_msg "Morty does not listening on: http://${MORTY_LISTEN}"
+        err_msg "Morty is not listening on: http://${MORTY_LISTEN}"
         echo -e "${_Green}stop with [${_BCyan}CTRL-C${_Green}] or .."
         wait_key
     fi