mirror of
https://github.com/searxng/searxng.git
synced 2025-08-01 01:22:22 +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
|
@ -1,9 +1,6 @@
|
|||
from searx.url_utils import urlencode
|
||||
from html.parser import HTMLParser
|
||||
from urllib.parse import urlencode
|
||||
|
||||
try:
|
||||
from HTMLParser import HTMLParser
|
||||
except:
|
||||
from html.parser import HTMLParser
|
||||
|
||||
url = 'http://www.filecrop.com/'
|
||||
search_url = url + '/search.php?{query}&size_i=0&size_f=100000000&engine_r=1&engine_d=1&engine_e=1&engine_4=1&engine_m=1&pos={index}' # noqa
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue