diff options
author | Alexandre Flament <alex@al-f.net> | 2021-03-27 17:43:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-27 17:43:36 +0100 |
commit | 725a69616b68b0a6055814c00316137e8e821437 (patch) | |
tree | d93cf184839c516610fb36ee3960950a08b08429 /searx | |
parent | 9bb312c505c2749862372c0ff56ba47e087a9edc (diff) | |
parent | fcfcf662ff1fdd70518164124fb591e78eb111a9 (diff) | |
download | searxng-725a69616b68b0a6055814c00316137e8e821437.tar.gz searxng-725a69616b68b0a6055814c00316137e8e821437.zip |
Merge pull request #2681 from dalf/fix-wikipedia-title
[fix] wikipedia: remove HTML from the title
Diffstat (limited to 'searx')
-rw-r--r-- | searx/engines/wikipedia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/wikipedia.py b/searx/engines/wikipedia.py index da867c81e..3ad8748fb 100644 --- a/searx/engines/wikipedia.py +++ b/searx/engines/wikipedia.py @@ -76,7 +76,7 @@ def response(resp): if api_result.get('type') != 'standard': return [] - title = api_result['displaytitle'] + title = api_result['title'] wikipedia_link = api_result['content_urls']['desktop']['page'] results.append({'url': wikipedia_link, 'title': title}) |