diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2017-05-15 14:23:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-15 14:23:23 +0200 |
| commit | 4cffd78650c3f1dfce413ae0a1cd0453ebe6f277 (patch) | |
| tree | ac65990c72156def2d49e81d981f0b3beda4fd2e /searx/engines/xpath.py | |
| parent | 46a2c63f8e1c3819cceff2d61fe9106051e8ecee (diff) | |
| parent | 52e615dede8538c36f569d2cf07835427a9a0db6 (diff) | |
Merge pull request #913 from asciimoo/py3
Add Python3 compatibility
Diffstat (limited to 'searx/engines/xpath.py')
| -rw-r--r-- | searx/engines/xpath.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py index 0d39b28a8..f466697bd 100644 --- a/searx/engines/xpath.py +++ b/searx/engines/xpath.py @@ -1,13 +1,13 @@ from lxml import html -from urllib import urlencode, unquote -from urlparse import urlparse, urljoin from lxml.etree import _ElementStringResult, _ElementUnicodeResult from searx.utils import html_to_text +from searx.url_utils import unquote, urlencode, urljoin, urlparse search_url = None url_xpath = None content_xpath = None title_xpath = None +paging = False suggestion_xpath = '' results_xpath = '' |