forked from Ponysearch/Ponysearch
[fix] use poolrequests in ddg engines
This commit is contained in:
parent
0f6612bb40
commit
077d8efed8
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue