fix HTTP error in onion engines

regression from https://github.com/searx/searx/pull/2641
most onion websites only serve HTTP, so it must be enabled
This commit is contained in:
Marc Abonce Seguin 2021-03-14 20:16:16 -07:00
parent 9292571304
commit f4a0a4d756
1 changed files with 6 additions and 0 deletions

View File

@ -82,6 +82,8 @@ outgoing: # communication with search engines
# https: # https:
# - http://proxy1:8080 # - http://proxy1:8080
# - http://proxy2:8080 # - http://proxy2:8080
# using_tor_proxy : True
# extra_proxy_timeout : 10.0 # Extra seconds to add in order to account for the time taken by the proxy
# uncomment below section only if you have more than one network interface # uncomment below section only if you have more than one network interface
# which can be the source of outgoing search requests # which can be the source of outgoing search requests
# source_ips: # source_ips:
@ -159,6 +161,7 @@ engines:
- name : ahmia - name : ahmia
engine : ahmia engine : ahmia
categories : onions categories : onions
enable_http : True
shortcut : ah shortcut : ah
- name : arch linux wiki - name : arch linux wiki
@ -730,6 +733,8 @@ engines:
# Requires Tor # Requires Tor
- name : not evil - name : not evil
engine : not_evil engine : not_evil
categories : onions
enable_http : True
shortcut : ne shortcut : ne
- name : nyaa - name : nyaa
@ -979,6 +984,7 @@ engines:
title_xpath : ./td[2]/b title_xpath : ./td[2]/b
content_xpath : ./td[2]/small content_xpath : ./td[2]/small
categories : onions categories : onions
enable_http : True
shortcut : tch shortcut : tch
# maybe in a fun category # maybe in a fun category