summaryrefslogtreecommitdiff
path: root/searx/url_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/url_utils.py')
-rw-r--r--searx/url_utils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/searx/url_utils.py b/searx/url_utils.py
index e9919ab30..dcafc3ba8 100644
--- a/searx/url_utils.py
+++ b/searx/url_utils.py
@@ -2,9 +2,10 @@ from sys import version_info
if version_info[0] == 2:
from urllib import quote, quote_plus, unquote, urlencode
- from urlparse import parse_qsl, urljoin, urlparse, urlunparse, ParseResult
+ from urlparse import parse_qs, parse_qsl, urljoin, urlparse, urlunparse, ParseResult
else:
from urllib.parse import (
+ parse_qs,
parse_qsl,
quote,
quote_plus,
@@ -17,7 +18,8 @@ else:
)
-__export__ = (parse_qsl,
+__export__ = (parse_qs,
+ parse_qsl,
quote,
quote_plus,
unquote,