summaryrefslogtreecommitdiff
path: root/searx/engines/gigablast.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-09-11 18:33:06 +0200
committerAdam Tauber <asciimoo@gmail.com>2015-09-11 18:33:06 +0200
commit37c3ace3096d9568f8dbdc3728659f4c77377b33 (patch)
treec1d852870f9c384248f2a61baaff49a03b2ed053 /searx/engines/gigablast.py
parente3df22b1401742ae0ade324ce4403f2b2b45dfe1 (diff)
downloadsearxng-37c3ace3096d9568f8dbdc3728659f4c77377b33.tar.gz
searxng-37c3ace3096d9568f8dbdc3728659f4c77377b33.zip
[fix] add missing scheme to duplicated results too ++ revert gigablasts handling
Diffstat (limited to 'searx/engines/gigablast.py')
-rw-r--r--searx/engines/gigablast.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py
index 04513cc98..b852de9ba 100644
--- a/searx/engines/gigablast.py
+++ b/searx/engines/gigablast.py
@@ -53,8 +53,6 @@ def response(resp):
# parse results
for result in dom.xpath(results_xpath):
url = result.xpath(url_xpath)[0].text
- if not url.startswith('http://') and not url.startswith('https://'):
- url = 'http://' + url
title = result.xpath(title_xpath)[0].text
content = escape(result.xpath(content_xpath)[0].text)