mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 20:17:45 +01:00
Merge pull request #2681 from dalf/fix-wikipedia-title
[fix] wikipedia: remove HTML from the title
This commit is contained in:
commit
725a69616b
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user