mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
Merge pull request #437 from dalf/fix-433
[mod] microsoft academic: increase timeout to 6 seconds
This commit is contained in:
commit
18299abc6f
@ -47,7 +47,7 @@ def response(resp):
|
|||||||
if not response_data:
|
if not response_data:
|
||||||
return results
|
return results
|
||||||
|
|
||||||
for result in response_data['pr']:
|
for result in response_data.get('pr', {}):
|
||||||
if 'dn' not in result['paper']:
|
if 'dn' not in result['paper']:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
@ -873,6 +873,7 @@ engines:
|
|||||||
engine: microsoft_academic
|
engine: microsoft_academic
|
||||||
categories: science
|
categories: science
|
||||||
shortcut: ma
|
shortcut: ma
|
||||||
|
timeout: 6.0
|
||||||
|
|
||||||
- name: mixcloud
|
- name: mixcloud
|
||||||
engine: mixcloud
|
engine: mixcloud
|
||||||
|
Loading…
Reference in New Issue
Block a user