Merge pull request #1745 from lorddavidiii/python3.8-fix
Fix python 3.8 compatibility
This commit is contained in:
@@ -10,7 +10,10 @@
|
||||
@parse url, title, content, thumbnail, img_src
|
||||
"""
|
||||
|
||||
from cgi import escape
|
||||
try:
|
||||
from cgi import escape
|
||||
except:
|
||||
from html import escape
|
||||
from lxml import html
|
||||
from searx.engines.xpath import extract_text
|
||||
from searx.url_utils import urljoin, urlencode
|
||||
|
||||
Reference in New Issue
Block a user