diff options
Diffstat (limited to 'searx/engines/microsoft_academic.py')
-rw-r--r-- | searx/engines/microsoft_academic.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/microsoft_academic.py b/searx/engines/microsoft_academic.py index 9387b08d0..9bac0069c 100644 --- a/searx/engines/microsoft_academic.py +++ b/searx/engines/microsoft_academic.py @@ -45,6 +45,8 @@ def request(query, params): def response(resp): results = [] response_data = loads(resp.text) + if not response_data: + return results for result in response_data['results']: url = _get_url(result) |