mirror of
https://github.com/searxng/searxng.git
synced 2026-10-25 05:44:14 +00:00
[enh] py3 compatibility
This commit is contained in:
1 parent
46a2c63f8e
commit
52e615dede
115 files changed
+517
-513
No files matched your search
@@ -1,10 +1,10 @@
|
||||
import json
|
||||
from urllib import urlencode
|
||||
from re import compile, sub
|
||||
from lxml import html
|
||||
from searx.utils import html_to_text
|
||||
from re import compile
|
||||
from searx.engines.xpath import extract_text
|
||||
from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url
|
||||
from searx.url_utils import urlencode
|
||||
from searx.utils import html_to_text
|
||||
|
||||
url = 'https://api.duckduckgo.com/'\
|
||||
+ '?{query}&format=json&pretty=0&no_redirect=1&d=1'
|
||||
|
||||
Reference in new issue
Block a user