forked from zaclys/searxng
		
	[enh] move dictionaries, Erowid & IMDb out of general category
The general category is the category that is searched by default. From a privacy standpoint it doesn't make sense to send all general queries to specialized search engines that cannot deal with those queries anyway.
This commit is contained in:
		
							parent
							
								
									ab90e2ac49
								
							
						
					
					
						commit
						5d74bf3820
					
				
					 5 changed files with 9 additions and 11 deletions
				
			
		|  | @ -19,7 +19,7 @@ about = { | |||
|     "language": 'de', | ||||
| } | ||||
| 
 | ||||
| categories = ['general', 'dictionaries'] | ||||
| categories = ['dictionaries'] | ||||
| paging = True | ||||
| 
 | ||||
| # search-url | ||||
|  |  | |||
|  | @ -27,9 +27,7 @@ about = { | |||
|     "results": 'HTML', | ||||
| } | ||||
| 
 | ||||
| categories = [ | ||||
|     'general', | ||||
| ] | ||||
| categories = [] | ||||
| paging = False | ||||
| 
 | ||||
| # suggestion_url = "https://sg.media-imdb.com/suggestion/{letter}/{query}.json" | ||||
|  |  | |||
|  | @ -21,7 +21,7 @@ about = { | |||
|     "language": 'pl', | ||||
| } | ||||
| 
 | ||||
| categories = ['general', 'dictionaries'] | ||||
| categories = ['dictionaries'] | ||||
| paging = False | ||||
| 
 | ||||
| URL = 'https://sjp.pwn.pl' | ||||
|  |  | |||
|  | @ -14,7 +14,7 @@ about = { | |||
| } | ||||
| 
 | ||||
| engine_type = 'online_dictionary' | ||||
| categories = ['general', 'dictionaries'] | ||||
| categories = ['dictionaries'] | ||||
| url = 'https://api.mymemory.translated.net/get?q={query}&langpair={from_lang}|{to_lang}{key}' | ||||
| web_url = 'https://mymemory.translated.net/en/{from_lang}/{to_lang}/{query}' | ||||
| weight = 100 | ||||
|  |  | |||
|  | @ -435,7 +435,7 @@ engines: | |||
|     url_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/@href | ||||
|     title_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/text() | ||||
|     content_xpath: //dl[@class="results-list"]/dd[@class="result-details"] | ||||
|     categories: general | ||||
|     categories: [] | ||||
|     shortcut: ew | ||||
|     disabled: true | ||||
|     about: | ||||
|  | @ -494,7 +494,7 @@ engines: | |||
|     content_xpath: //section[contains(@class, "word__defination")] | ||||
|     first_page_num: 1 | ||||
|     shortcut: et | ||||
|     categories: [general, dictionaries] | ||||
|     categories: [dictionaries] | ||||
|     disabled: true | ||||
|     about: | ||||
|       website: https://www.etymonline.com/ | ||||
|  | @ -1419,7 +1419,7 @@ engines: | |||
|   - name: wiktionary | ||||
|     engine: mediawiki | ||||
|     shortcut: wt | ||||
|     categories: [general, dictionaries] | ||||
|     categories: [dictionaries] | ||||
|     base_url: "https://{language}.wiktionary.org/" | ||||
|     number_of_results: 5 | ||||
|     search_type: text | ||||
|  | @ -1601,14 +1601,14 @@ engines: | |||
|     engine: wordnik | ||||
|     shortcut: def | ||||
|     base_url: https://www.wordnik.com/ | ||||
|     categories: [general, dictionaries] | ||||
|     categories: [dictionaries] | ||||
|     timeout: 5.0 | ||||
|     disabled: true | ||||
| 
 | ||||
|   - name: woxikon.de synonyme | ||||
|     engine: xpath | ||||
|     shortcut: woxi | ||||
|     categories: [general, dictionaries] | ||||
|     categories: [dictionaries] | ||||
|     timeout: 5.0 | ||||
|     disabled: true | ||||
|     search_url: https://synonyme.woxikon.de/synonyme/{query}.php | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Martin Fischer
						Martin Fischer