Merge pull request #42 from return42/fix-solidtorrent

[fix] URL to solidtorrent result page
This commit is contained in:
Markus Heiser 2021-04-29 11:56:21 +00:00 committed by GitHub
commit 3c755688ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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",