From 9788620809260197aa210cee9367f7b379ceda91 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 21 Mar 2024 14:44:14 +1300 Subject: [PATCH] mejortorrent: DL may need sitelink prefix --- src/Jackett.Common/Indexers/MejorTorrent.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Jackett.Common/Indexers/MejorTorrent.cs b/src/Jackett.Common/Indexers/MejorTorrent.cs index 11ccd0883..b11737586 100644 --- a/src/Jackett.Common/Indexers/MejorTorrent.cs +++ b/src/Jackett.Common/Indexers/MejorTorrent.cs @@ -381,6 +381,10 @@ namespace Jackett.Common.Indexers private ReleaseInfo GenerateRelease(string title, string detailsStr, string downloadLink, string cat, DateTime publishDate, long size) { + if (downloadLink.StartsWith("/")) + { + downloadLink = SiteLink + downloadLink.Substring(1); + } var link = new Uri(downloadLink); var details = new Uri(detailsStr); var release = new ReleaseInfo