mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Merge BakaBT Fix
This commit is contained in:
@@ -45,6 +45,7 @@ Download in the [Releases page](https://github.com/zone117x/Jackett/releases)
|
||||
* [TorrentLeech](http://www.torrentleech.org/)
|
||||
* [TorrentShack](http://torrentshack.me/)
|
||||
* [Torrentz](https://torrentz.eu/)
|
||||
* [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]));
|
||||
|
||||
|
Reference in New Issue
Block a user