forked from zaclys/searxng
		
	Merge pull request #2659 from MarcAbonce/onions-http-fix
Fix HTTP error in onion engines
This commit is contained in:
		
						commit
						5b176b3496
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					@ -973,6 +978,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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue