mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Add new attributes to various trackers (#583)
* Use AvistazTracker base
* Revert "Use AvistazTracker base"
This reverts commit 9eba02c758
.
* Add new attributes to various trackers
* more DL factors for HDSpace
* new attributes for Fuzer
* add new attributes for ImmortalSeed
* set UploadVolumeFactor for myAmity
* add new attributes to bitmetv
This commit is contained in:
@@ -125,6 +125,22 @@ namespace Jackett.Indexers
|
||||
.Replace("music", "3")
|
||||
.Replace("text-pink", string.Empty);
|
||||
release.Category = MapTrackerCatToNewznab(cat.Trim());
|
||||
|
||||
var grabs = row.Cq().Find("td:nth-child(9)").Text();
|
||||
release.Grabs = ParseUtil.CoerceInt(grabs);
|
||||
|
||||
if (row.Cq().Find("i.fa-star").Any())
|
||||
release.DownloadVolumeFactor = 0;
|
||||
else if (row.Cq().Find("i.fa-star-half-o").Any())
|
||||
release.DownloadVolumeFactor = 0.5;
|
||||
else
|
||||
release.DownloadVolumeFactor = 1;
|
||||
|
||||
if (row.Cq().Find("i.fa-diamond").Any())
|
||||
release.UploadVolumeFactor = 2;
|
||||
else
|
||||
release.UploadVolumeFactor = 1;
|
||||
|
||||
releases.Add(release);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user