mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 02:52:20 -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:
parent
9a6be98f1f
commit
09f53d3537
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user