[fix] use poolrequests in ddg engines

This commit is contained in:
Adam Tauber 2017-07-21 16:23:20 +02:00
parent 0f6612bb40
commit 077d8efed8
2 changed files with 2 additions and 2 deletions

View file

@ -14,9 +14,9 @@
"""
from lxml.html import fromstring
from requests import get
from json import loads
from searx.engines.xpath import extract_text
from searx.poolrequests import get
from searx.url_utils import urlencode
# engine dependent config

View file

@ -13,10 +13,10 @@
@todo avoid extra request
"""
from requests import get
from json import loads
from searx.engines.xpath import extract_text
from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url, get_region_code
from searx.poolrequests import get
from searx.url_utils import urlencode
# engine dependent config