1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-10 14:14:25 +00:00

mejortorrent: DL may need sitelink prefix

This commit is contained in:
Garfield69 2024-03-21 14:44:14 +13:00
parent c230d1631f
commit 9788620809

View file

@ -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