logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 077d8efed85e468d863a52e8a32feb88ba158c11
parent: 0f6612bb40f28c5d517c96bc07aa19123312a1ba
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Fri, 21 Jul 2017 16:23:20 +0200

[fix] use poolrequests in ddg engines

Diffstat:

Msearx/engines/duckduckgo.py2+-
Msearx/engines/duckduckgo_images.py2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py @@ -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 diff --git a/searx/engines/duckduckgo_images.py b/searx/engines/duckduckgo_images.py @@ -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