logo

searx

My custom branche(s) on searx, a meta-search engine
commit: fe82637eaca40da12b84d7be0f09ffb6bda1f9cd
parent: 14f4083ba107fd0e3e536d5aeeb67ca995d351e3
Author: asciimoo <asciimoo@gmail.com>
Date:   Thu, 30 Jan 2014 02:32:58 +0100

[enh] importable url extractor

Diffstat:

Msearx/engines/xpath.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py @@ -37,7 +37,7 @@ def extract_text(xpath_results): return html_to_text(xpath_results.text_content()) -def extract_url(xpath_results): +def extract_url(xpath_results, search_url=search_url): url = extract_text(xpath_results) if url.startswith('//'):