mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 22:23:20 +00:00
mejortorrent: DL may need sitelink prefix
This commit is contained in:
parent
c230d1631f
commit
9788620809
1 changed files with 4 additions and 0 deletions
|
@ -381,6 +381,10 @@ namespace Jackett.Common.Indexers
|
||||||
private ReleaseInfo GenerateRelease(string title, string detailsStr, string downloadLink, string cat,
|
private ReleaseInfo GenerateRelease(string title, string detailsStr, string downloadLink, string cat,
|
||||||
DateTime publishDate, long size)
|
DateTime publishDate, long size)
|
||||||
{
|
{
|
||||||
|
if (downloadLink.StartsWith("/"))
|
||||||
|
{
|
||||||
|
downloadLink = SiteLink + downloadLink.Substring(1);
|
||||||
|
}
|
||||||
var link = new Uri(downloadLink);
|
var link = new Uri(downloadLink);
|
||||||
var details = new Uri(detailsStr);
|
var details = new Uri(detailsStr);
|
||||||
var release = new ReleaseInfo
|
var release = new ReleaseInfo
|
||||||
|
|
Loading…
Add table
Reference in a new issue