From 4df055432be7bef0741e9b06080bec81226e1831 Mon Sep 17 00:00:00 2001 From: miigotu <miigotu@gmail.com> Date: Mon, 14 Dec 2015 05:22:58 -0800 Subject: [PATCH] Add back alt.binaries.teevee to binsearch, but limit results to last 50 for all categories This is enough for at least the past hour, and should lessen our impact on the binsearch service It will still process the same amount of results over time, just wont reprocess 950 every cache update --- sickbeard/providers/binsearch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/providers/binsearch.py b/sickbeard/providers/binsearch.py index da1ec1387..7a653f2b3 100644 --- a/sickbeard/providers/binsearch.py +++ b/sickbeard/providers/binsearch.py @@ -93,9 +93,9 @@ class BinSearchCache(tvcache.TVCache): self.setLastUpdate() cl = [] - for group in ['alt.binaries.hdtv', 'alt.binaries.hdtv.x264', 'alt.binaries.tv', 'alt.binaries.tvseries']: + for group in ['alt.binaries.hdtv', 'alt.binaries.hdtv.x264', 'alt.binaries.tv', 'alt.binaries.tvseries', 'alt.binaries.teevee']: url = self.provider.url + 'rss.php?' - urlArgs = {'max': 1000, 'g': group} + urlArgs = {'max': 50, 'g': group} url += urllib.urlencode(urlArgs) -- GitLab