Fix: add trailing slash to duckduckgo url

Close #1854
This commit is contained in:
Rudis Muiznieks 2022-12-22 07:49:58 -06:00
parent b927482195
commit 6804ff048d
No known key found for this signature in database
GPG Key ID: CABF2F86EF7884F9
1 changed files with 2 additions and 2 deletions

View File

@ -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