1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[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"],
'leech': result["swarm"]["leechers"],
'title': result["title"],
'link': "https://solidtorrents.net/view/" + result["_id"],
'url': "https://solidtorrents.net/view/" + result["_id"],
'filesize': result["size"],
'magnetlink': result["magnet"],
'template': "torrent.html",