From a3618add4364a84d9e999d895f94a58d073512be Mon Sep 17 00:00:00 2001 From: impr3ssi0n <30906761+impr3ssi0n@users.noreply.github.com> Date: Sat, 28 Jun 2025 13:06:20 +0300 Subject: [PATCH] Anilibria: fix guid (#16045) --- src/Jackett.Common/Indexers/Definitions/Anilibria.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Indexers/Definitions/Anilibria.cs b/src/Jackett.Common/Indexers/Definitions/Anilibria.cs index 1f0c6aa56..fac638b13 100644 --- a/src/Jackett.Common/Indexers/Definitions/Anilibria.cs +++ b/src/Jackett.Common/Indexers/Definitions/Anilibria.cs @@ -113,7 +113,7 @@ namespace Jackett.Common.Indexers.Definitions torrentsInfo.Select( torrentInfo => new ReleaseInfo { - Guid = GetReleaseLink(torrentInfo.Alias), + Guid = GetGuidLink(torrentInfo.Alias, torrentInfo.Hash), Title = $"{torrentInfo.NameMain} / {torrentInfo.Label}", Details = GetReleaseLink(torrentInfo.Alias), Poster = GetPosterLink(torrentInfo.PosterSrc), @@ -132,6 +132,7 @@ namespace Jackett.Common.Indexers.Definitions return releases; } + private Uri GetGuidLink(string alias, string hash) => new($"{SiteLink}anime/releases/release/{alias}/{hash}"); private Uri GetReleaseLink(string alias) => new($"{SiteLink}anime/releases/release/{alias}"); private Uri GetPosterLink(string posterSrc) => new($"{SiteLink}{posterSrc.TrimStart('/')}"); private Uri GetDownloadLink(string hash) => new($"{ApiBase}anime/torrents/{hash}/file");