Private GIT

Skip to content
Snippets Groups Projects
Commit f4a57886 authored by supergonkas's avatar supergonkas
Browse files

Strike RSS

parent b4aa4e1b
Branches
Tags
No related merge requests found
# Author: matigonkas # coding=utf-8
# URL: https://github.com/SickRage/sickrage # Author: Gonçalo (aka duramato) <matigonkas@outlook.com>
# URL: https://github.com/SickRage/SickRage
# #
# This file is part of SickRage. # This file is part of SickRage.
# #
...@@ -92,11 +93,13 @@ class StrikeCache(tvcache.TVCache): ...@@ -92,11 +93,13 @@ class StrikeCache(tvcache.TVCache):
tvcache.TVCache.__init__(self, provider_obj) tvcache.TVCache.__init__(self, provider_obj)
# set this 0 to suppress log line, since we aren't updating it anyways # Cache results for 10 min
self.minTime = 0 self.minTime = 10
def _getRSSData(self): def _getRSSData(self):
# no rss for getstrike.net afaik, also can't search with empty string
return {'entries': {}} # Use this hacky way for RSS search since most results will use this codec
search_params = {'RSS': ['x264']}
return {'entries': self.provider._doSearch(search_params)}
provider = STRIKEProvider() provider = STRIKEProvider()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment