Private GIT

Skip to content
Snippets Groups Projects
Commit de434cd6 authored by miigotu's avatar miigotu
Browse files

Remove alt.binaries.teevee from binsearch, and dont try to add False _parseItem results to db

parent 7d22648b
No related merge requests found
......@@ -93,7 +93,7 @@ class BinSearchCache(tvcache.TVCache):
self.setLastUpdate()
cl = []
for group in ['alt.binaries.hdtv', 'alt.binaries.hdtv.x264', 'alt.binaries.tv', 'alt.binaries.tvseries', 'alt.binaries.teevee']:
for group in ['alt.binaries.hdtv', 'alt.binaries.hdtv.x264', 'alt.binaries.tv', 'alt.binaries.tvseries']:
url = self.provider.url + 'rss.php?'
urlArgs = {'max': 1000, 'g': group}
......@@ -103,7 +103,7 @@ class BinSearchCache(tvcache.TVCache):
for item in self.getRSSFeed(url)['entries'] or []:
ci = self._parseItem(item)
if ci is not None:
if ci:
cl.append(ci)
if len(cl) > 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment