mirror of
https://github.com/searxng/searxng.git
synced 2025-07-13 08:19:17 +02:00
Drop Python 2 (1/n): remove unicode string and url_utils
This commit is contained in:
parent
272158944b
commit
1022228d95
112 changed files with 388 additions and 535 deletions
|
@ -18,11 +18,11 @@ Definitions`_.
|
|||
|
||||
# pylint: disable=invalid-name, missing-function-docstring
|
||||
|
||||
from urllib.parse import urlencode, urlparse
|
||||
from lxml import html
|
||||
from flask_babel import gettext
|
||||
from searx.engines.xpath import extract_text
|
||||
from searx import logger
|
||||
from searx.url_utils import urlencode, urlparse
|
||||
from searx.utils import match_language, eval_xpath
|
||||
|
||||
logger = logger.getChild('google engine')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue