diff options
author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-27 22:39:25 +0100 |
---|---|---|
committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-27 22:39:25 +0100 |
commit | 3282e62ff92f1c2158cb169d2a21a5988766450c (patch) | |
tree | 9287261c657a2751421ffc24cf391e8980c86d3c /searx/engines/searchcode_doc.py | |
parent | 0f81aa8410623e790f4ad01b32e2b37f6258356a (diff) | |
download | searxng-3282e62ff92f1c2158cb169d2a21a5988766450c.tar.gz searxng-3282e62ff92f1c2158cb169d2a21a5988766450c.zip |
Searchcode engines corrections
Diffstat (limited to 'searx/engines/searchcode_doc.py')
-rw-r--r-- | searx/engines/searchcode_doc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/searchcode_doc.py b/searx/engines/searchcode_doc.py index b5b7159be..76da8d752 100644 --- a/searx/engines/searchcode_doc.py +++ b/searx/engines/searchcode_doc.py @@ -35,7 +35,7 @@ def response(resp): search_results = loads(resp.text) # parse results - for result in search_results['results']: + for result in search_results.get('results', []): href = result['url'] title = "[" + result['type'] + "] " +\ result['namespace'] +\ |