From 70491dfe577fc20efd4023891049f8c4eafcb70b Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 24 Jun 2019 11:01:57 +1200 Subject: [PATCH] torrentscsv: dont use magnet link as details link. resolves #5539 details or comments link are not available in the results, and returning a magnet instead of a details link is contra to user expectations. so we just point to the web site instead. also added a download link to conform to torznab specs. --- src/Jackett.Common/Indexers/Torrentscsv.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Indexers/Torrentscsv.cs b/src/Jackett.Common/Indexers/Torrentscsv.cs index 11e4765d1..7135bb360 100644 --- a/src/Jackett.Common/Indexers/Torrentscsv.cs +++ b/src/Jackett.Common/Indexers/Torrentscsv.cs @@ -129,8 +129,10 @@ namespace Jackett.Common.Indexers { "&tr=udp://tracker.justseed.it:1337/announce"; release.MagnetUri = new Uri (magnet_uri); - release.Comments = release.MagnetUri; + // there is no comments or details link so we point to the web site instead + release.Comments = new Uri (SiteLink); release.Guid = release.MagnetUri; + release.Link = release.MagnetUri; release.InfoHash = torrent.Value ("infohash").ToString (); // convert unix timestamp to human readable date