summaryrefslogtreecommitdiff
path: root/searx/engines/duckduckgo.py
diff options
context:
space:
mode:
authorRudis Muiznieks <rudis@sitosis.com>2022-12-22 07:49:58 -0600
committerRudis Muiznieks <rudis@sitosis.com>2022-12-22 07:49:58 -0600
commit6804ff048d02e302162487f40843391f9018402e (patch)
tree26f7c92e91285a1c2101819e4d3a76914f4efb7c /searx/engines/duckduckgo.py
parentb92748219504e67b18771b9831ffcebe76cca62f (diff)
downloadsearxng-6804ff048d02e302162487f40843391f9018402e.tar.gz
searxng-6804ff048d02e302162487f40843391f9018402e.zip
Fix: add trailing slash to duckduckgo url
Close #1854
Diffstat (limited to 'searx/engines/duckduckgo.py')
-rw-r--r--searx/engines/duckduckgo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py
index 17f0fae1c..0d82002bf 100644
--- a/searx/engines/duckduckgo.py
+++ b/searx/engines/duckduckgo.py
@@ -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