diff options
| author | Dalf <alex@al-f.net> | 2020-08-06 17:42:46 +0200 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2020-09-10 10:39:04 +0200 |
| commit | 1022228d950c2a809ed613df1a515d9a6cafda7c (patch) | |
| tree | d792dddea1a5b278b018ed4e024cd13340d5c1b1 /searx/engines/filecrop.py | |
| parent | 272158944bf13503e2597018fc60a00baddec660 (diff) | |
Drop Python 2 (1/n): remove unicode string and url_utils
Diffstat (limited to 'searx/engines/filecrop.py')
| -rw-r--r-- | searx/engines/filecrop.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/searx/engines/filecrop.py b/searx/engines/filecrop.py index ed57a6bf3..eef5be6e8 100644 --- a/searx/engines/filecrop.py +++ b/searx/engines/filecrop.py @@ -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 |