[fix] URL to solidtorrent result page

Reported-by: https://github.com/searx/searx/pull/2786
This commit is contained in:
Michael Ilsaas 2021-04-28 23:57:54 +02:00 committed by Markus Heiser
parent 3282cdca13
commit 0c43cf89ca

View file

@ -46,7 +46,7 @@ def response(resp):
'seed': result["swarm"]["seeders"], 'seed': result["swarm"]["seeders"],
'leech': result["swarm"]["leechers"], 'leech': result["swarm"]["leechers"],
'title': result["title"], 'title': result["title"],
'link': "https://solidtorrents.net/view/" + result["_id"], 'url': "https://solidtorrents.net/view/" + result["_id"],
'filesize': result["size"], 'filesize': result["size"],
'magnetlink': result["magnet"], 'magnetlink': result["magnet"],
'template': "torrent.html", 'template': "torrent.html",