SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] piratebay engine date and pep8 indentation
Emilien Devosc15a91a534cc
diff --git a/searx/engines/piratebay.py b/searx/engines/piratebay.pyindex e84a40d3f..0122d6daa 100644--- a/searx/engines/piratebay.py+++ b/searx/engines/piratebay.py@@ -62,8 +62,8 @@ def response(resp):# parse resultsfor result in search_res:link = url + "description.php?id=" + result["id"]- magnetlink = "magnet:?xt=urn:btih:" + result["info_hash"] + "&dn=" + result["name"]- + "&tr=" + "&tr=".join(trackers)+ magnetlink = "magnet:?xt=urn:btih:" + result["info_hash"] + \+ "&dn=" + result["name"] + "&tr=" + "&tr=".join(trackers)params = {"url": link,@@ -76,7 +76,7 @@ def response(resp):# extract and convert creation datetry:- date = datetime.fromtimestamp(result.added)+ date = datetime.fromtimestamp(float(result["added"]))params['publishedDate'] = dateexcept:pass