diff options
author | dalf <alex@al-f.net> | 2015-01-21 11:33:16 +0100 |
---|---|---|
committer | dalf <alex@al-f.net> | 2015-01-21 11:33:16 +0100 |
commit | d07cfd9089d05a6a81109518f03ba82660a4aef7 (patch) | |
tree | 4f3ee34f8260e83697fdf50e455c2aea840df090 /searx/autocomplete.py | |
parent | a865e6672fa2a289937ff378e8893c19f71c5e0c (diff) | |
download | searxng-d07cfd9089d05a6a81109518f03ba82660a4aef7.tar.gz searxng-d07cfd9089d05a6a81109518f03ba82660a4aef7.zip |
[enh] use one single http connection pool : improve response time. close #100
Diffstat (limited to 'searx/autocomplete.py')
-rw-r--r-- | searx/autocomplete.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/autocomplete.py b/searx/autocomplete.py index 7ebebf1de..e37d34d71 100644 --- a/searx/autocomplete.py +++ b/searx/autocomplete.py @@ -17,13 +17,13 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >. from lxml import etree -from requests import get from json import loads from urllib import urlencode from searx.languages import language_codes from searx.engines import ( categories, engines, engine_shortcuts ) +from searx.poolrequests import get def searx_bang(full_query): |