mirror of
https://github.com/Jackett/Jackett
synced 2024-12-23 00:08:23 +00:00
BakaBT fix minium ratio not set
This commit is contained in:
parent
80da2abe10
commit
f6e2082d3d
3 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,7 @@ Download in the [Releases page](https://github.com/zone117x/Jackett/releases)
|
|||
* [FrenchTorrentDb](http://www.frenchtorrentdb.com/)
|
||||
* [bB](http://reddit.com/r/baconbits)
|
||||
* [PrivateHD](https://privatehd.to/)
|
||||
* [BakaBT](http://bakabt.me/)
|
||||
|
||||
|
||||
### Additional Trackers
|
||||
|
|
|
@ -167,6 +167,7 @@ namespace JackettTest.Indexers
|
|||
results[0].Link.Should().Be("http://bakabt.me/torrent/180302/golden-time-bd-720p-fff");
|
||||
results[0].Peers.Should().Be(161);
|
||||
results[0].Seeders.Should().Be(151);
|
||||
results[0].MinimumRatio.Should().Be(1);
|
||||
|
||||
results[1].Title.Should().Be("Yowamushi Pedal Season 1 (BD 720p) [Commie]");
|
||||
results[4].Title.Should().Be("Dungeon ni Deai o Motomeru no wa Machigatte Iru Darouka: Familia Myth Season 1 (480p) [HorribleSubs]");
|
||||
|
|
|
@ -183,6 +183,8 @@ namespace Jackett.Indexers
|
|||
release.Seeders = int.Parse(qRow.Find(".peers a").Get(0).InnerText);
|
||||
release.Peers = release.Seeders + int.Parse(qRow.Find(".peers a").Get(1).InnerText);
|
||||
|
||||
release.MinimumRatio = 1;
|
||||
|
||||
var size = qRow.Find(".size").First().Text().Split(' ');
|
||||
release.Size = ReleaseInfo.GetBytes(size[1], ParseUtil.CoerceFloat(size[0]));
|
||||
|
||||
|
|
Loading…
Reference in a new issue