diff --git a/src/Jackett.Common/Indexers/BakaBT.cs b/src/Jackett.Common/Indexers/BakaBT.cs index e678b625b..0c3ff240b 100644 --- a/src/Jackett.Common/Indexers/BakaBT.cs +++ b/src/Jackett.Common/Indexers/BakaBT.cs @@ -133,12 +133,13 @@ namespace Jackett.Common.Indexers release.Title = release.Title.Substring(0, insertPoint) + "Season 1 " + release.Title.Substring(insertPoint); } - release.Description = release.Title; + release.Category = new List() { TorznabCatType.TVAnime.ID }; + release.Description = qRow.Find("span.tags").Text(); release.Guid = new Uri(SiteLink + qTitleLink.Attr("href")); release.Comments = release.Guid; release.Link = new Uri(SiteLink + qRow.Find(".peers a").First().Attr("href")); - + release.Grabs = int.Parse(qRow.Find(".peers").Get(0).FirstChild.NodeValue.TrimEnd().TrimEnd('/').TrimEnd()); release.Seeders = int.Parse(qRow.Find(".peers a").Get(0).InnerText); release.Peers = release.Seeders + int.Parse(qRow.Find(".peers a").Get(1).InnerText); @@ -165,6 +166,13 @@ namespace Jackett.Common.Indexers release.PublishDate = DateTime.ParseExact(dateStr, "dd MMM yy", CultureInfo.InvariantCulture); } + if (qRow.Find("span.freeleech").Length > 0) + release.DownloadVolumeFactor = 0; + else + release.DownloadVolumeFactor = 1; + + release.UploadVolumeFactor = 1; + releases.Add(release); } }