Skip to content

Commit

Permalink
Use maxage on NZBMatrix RSS as well as backlog searches
Browse files Browse the repository at this point in the history
  • Loading branch information
midgetspy committed Feb 29, 2012
1 parent 09c121e commit 2020a41
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sickbeard/providers/nzbmatrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,16 @@ def _getRSSData(self):
urlArgs = {'page': 'download',
'username': sickbeard.NZBMATRIX_USERNAME,
'apikey': sickbeard.NZBMATRIX_APIKEY,
'maxage': sickbeard.USENET_RETENTION,
'english': 1,
'ssl': 1,
'scenename': 1,
'subcat': '6,41'}

# don't allow it to be missing
if not urlArgs['maxage']:
urlArgs['maxage'] = '0'

url += urllib.urlencode(urlArgs)

logger.log(u"NZBMatrix cache update URL: "+ url, logger.DEBUG)
Expand Down

0 comments on commit 2020a41

Please sign in to comment.