1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-05 00:45:00 -05:00

Filtering of torrents with 0 seeders is no longer forced, filtering now is done strictly by min seed and min leech user settins which can be set from search provider config settings.

This commit is contained in:
echel0n 2014-07-12 16:16:58 -07:00
parent 9a6be98f1f
commit 09f53d3537
9 changed files with 10 additions and 10 deletions

View File

@ -218,7 +218,7 @@ class HDTorrentsProvider(generic.TorrentProvider):
except (AttributeError, TypeError):
continue
if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech):
if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech):
continue
if not title or not download_url:
@ -257,7 +257,7 @@ class HDTorrentsProvider(generic.TorrentProvider):
except (AttributeError, TypeError):
continue
if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech):
if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech):
continue
if not title or not download_url:

View File

@ -275,7 +275,7 @@ class KATProvider(generic.TorrentProvider):
except (AttributeError, TypeError):
continue
if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech):
if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech):
continue
if self.confirmed and not verified:

View File

@ -174,7 +174,7 @@ class PublicHDProvider(generic.TorrentProvider):
except (AttributeError, TypeError):
continue
if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech):
if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech):
continue
if not title or not url:

View File

@ -233,7 +233,7 @@ class SCCProvider(generic.TorrentProvider):
except (AttributeError, TypeError):
continue
if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech):
if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech):
continue
if not title or not download_url:

View File

@ -180,7 +180,7 @@ class SpeedCDProvider(generic.TorrentProvider):
seeders = int(torrent['seed'])
leechers = int(torrent['leech'])
if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech):
if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech):
continue
if not title or not url:

View File

@ -250,7 +250,7 @@ class ThePirateBayProvider(generic.TorrentProvider):
leechers = int(torrent.group('leechers'))
#Filter unseeded torrent
if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech):
if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech):
continue
#Accept Torrent only from Good People for every Episode Search

View File

@ -202,7 +202,7 @@ class TorrentBytesProvider(generic.TorrentProvider):
continue
#Filter unseeded torrent
if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech):
if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech):
continue
if not title or not download_url:

View File

@ -214,7 +214,7 @@ class TorrentDayProvider(generic.TorrentProvider):
seeders = int(torrent['seed'])
leechers = int(torrent['leech'])
if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech):
if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech):
continue
if not title or not url:

View File

@ -198,7 +198,7 @@ class TorrentLeechProvider(generic.TorrentProvider):
continue
#Filter unseeded torrent
if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech):
if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech):
continue
if not title or not download_url: