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
1 changed files with 1 additions and 1 deletions

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