ABN: add DL/UL volume factor

This commit is contained in:
kaso17 2017-02-16 16:09:14 +01:00
parent c3c8ec9801
commit ff2e31782b
1 changed files with 8 additions and 0 deletions

View File

@ -361,6 +361,14 @@ namespace Jackett.Indexers
release.Guid = detailsLink;
release.Comments = commentsLink;
release.Link = downloadLink;
// freeleech
if (tRow.Find("img[alt=\"Freeleech\"]").Length >= 1)
release.DownloadVolumeFactor = 0;
else
release.DownloadVolumeFactor = 1;
release.UploadVolumeFactor = 1;
releases.Add(release);
}