mirror of
https://github.com/searxng/searxng
synced 2024-11-16 21:25:37 +00:00
[fix] internet archive scholar: crash when there's no title
This commit is contained in:
parent
0660d20e1d
commit
fb72f71f0a
@ -56,7 +56,7 @@ def response(resp):
|
||||
{
|
||||
'template': 'paper.html',
|
||||
'url': result['fulltext']['access_url'],
|
||||
'title': result['biblio']['title'],
|
||||
'title': result['biblio'].get('title') or result['biblio'].get('container_name'),
|
||||
'content': html_to_text(content),
|
||||
'publisher': result['biblio'].get('publisher'),
|
||||
'doi': doi,
|
||||
|
Loading…
Reference in New Issue
Block a user