mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	Merge pull request #2035 from rudism/fix-ddg-url
Fix: add trailing slash to duckduckgo url
This commit is contained in:
		
						commit
						d75ae7c8e6
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -18,7 +18,7 @@ from searx.network import get | |||
| 
 | ||||
| # about | ||||
| about = { | ||||
|     "website": 'https://lite.duckduckgo.com/lite', | ||||
|     "website": 'https://lite.duckduckgo.com/lite/', | ||||
|     "wikidata_id": 'Q12805', | ||||
|     "official_api_documentation": 'https://duckduckgo.com/api', | ||||
|     "use_official_api": False, | ||||
|  | @ -46,7 +46,7 @@ language_aliases = { | |||
| time_range_dict = {'day': 'd', 'week': 'w', 'month': 'm', 'year': 'y'} | ||||
| 
 | ||||
| # search-url | ||||
| url = 'https://lite.duckduckgo.com/lite' | ||||
| url = 'https://lite.duckduckgo.com/lite/' | ||||
| url_ping = 'https://duckduckgo.com/t/sl_l' | ||||
| 
 | ||||
| # match query's language to a region code that duckduckgo will accept | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Markus Heiser
						Markus Heiser