diff options
author | Adam Tauber <asciimoo@gmail.com> | 2017-10-25 23:56:37 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2017-10-26 00:06:03 +0200 |
commit | 5f758b2d39becf251a9097264d7414ad9c471d62 (patch) | |
tree | 82de6d5afbb0c73669f007225893a05e60d00601 /searx/url_utils.py | |
parent | b34124fd8a6b020136ca9656acdb01afceabe96f (diff) | |
download | searxng-5f758b2d39becf251a9097264d7414ad9c471d62.tar.gz searxng-5f758b2d39becf251a9097264d7414ad9c471d62.zip |
[mod] compress saved preferences in url
Diffstat (limited to 'searx/url_utils.py')
-rw-r--r-- | searx/url_utils.py | 6 |
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, |