Xthor: improvements

This commit is contained in:
kaso17 2017-02-17 17:05:48 +01:00
parent 80589093f8
commit 95dad9d67e
1 changed files with 10 additions and 0 deletions

View File

@ -100,6 +100,12 @@ namespace Jackett.Indexers
AddCategoryMapping(96, TorznabCatType.BooksEbook); // EBOOKS MAGAZINES
AddCategoryMapping(99, TorznabCatType.BooksEbook); // EBOOKS ANIME
AddCategoryMapping(23, TorznabCatType.PCPhoneAndroid); // ANDROID
AddCategoryMapping(36, TorznabCatType.XXX); // XxX / Films
AddCategoryMapping(105, TorznabCatType.XXX); // XxX / Séries
AddCategoryMapping(114, TorznabCatType.XXX); // XxX / Lesbiennes
AddCategoryMapping(115, TorznabCatType.XXX); // XxX / Gays
AddCategoryMapping(113, TorznabCatType.XXX); // XxX / Hentai
}
/// <summary>
@ -193,6 +199,10 @@ namespace Jackett.Indexers
MinimumSeedTime = 345600,
PublishDate = DateTimeUtil.UnixTimestampToDateTime(torrent.added),
Size = torrent.size,
Grabs = torrent.times_completed,
Files = torrent.numfiles,
UploadVolumeFactor = 1,
DownloadVolumeFactor = (torrent.freeleech == 1 ? 0 : 1),
Guid = new Uri(TorrentDescriptionUrl.Replace("{id}", torrent.id.ToString())),
Comments = new Uri(TorrentCommentUrl.Replace("{id}", torrent.id.ToString())),
Link = new Uri(torrent.download_link)