mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fixes issue #25
This commit is contained in:
parent
74a2f3dca7
commit
f2fb9076ad
15 changed files with 15 additions and 15 deletions
|
@ -69,7 +69,7 @@ class DTTProvider(generic.TorrentProvider):
|
|||
def _get_episode_search_strings(self, episode):
|
||||
return self._get_season_search_strings(episode.show, episode.season)
|
||||
|
||||
def _doSearch(self, search_params, show=None):
|
||||
def _doSearch(self, search_params, show=None, age=None):
|
||||
|
||||
# show_id = self._dtt_show_id(show.name)
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ class EZRSSProvider(generic.TorrentProvider):
|
|||
|
||||
return [params]
|
||||
|
||||
def _doSearch(self, search_params, show=None):
|
||||
def _doSearch(self, search_params, show=None, age=None):
|
||||
|
||||
params = {"mode": "rss"}
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ class HDTorrentsProvider(generic.TorrentProvider):
|
|||
|
||||
return [search_string]
|
||||
|
||||
def _doSearch(self, search_params, show=None):
|
||||
def _doSearch(self, search_params, show=None, age=None):
|
||||
|
||||
results = []
|
||||
items = {'Season': [], 'Episode': [], 'RSS': []}
|
||||
|
|
|
@ -137,7 +137,7 @@ class IPTorrentsProvider(generic.TorrentProvider):
|
|||
|
||||
return [search_string]
|
||||
|
||||
def _doSearch(self, search_params):
|
||||
def _doSearch(self, search_params, show=None, age=None):
|
||||
|
||||
results = []
|
||||
items = {'Season': [], 'Episode': [], 'RSS': []}
|
||||
|
|
|
@ -219,7 +219,7 @@ class KATProvider(generic.TorrentProvider):
|
|||
return [search_string]
|
||||
|
||||
|
||||
def _doSearch(self, search_params, show=None):
|
||||
def _doSearch(self, search_params, show=None, age=None):
|
||||
|
||||
results = []
|
||||
items = {'Season': [], 'Episode': [], 'RSS': []}
|
||||
|
|
|
@ -278,7 +278,7 @@ class NewzbinProvider(generic.NZBProvider):
|
|||
searchStr = " OR ".join(['^"' + x + ' - ' + str(ep_obj.airdate) + '"' for x in nameList])
|
||||
return [searchStr]
|
||||
|
||||
def _doSearch(self, searchStr, show=None):
|
||||
def _doSearch(self, searchStr, show=None, age=None):
|
||||
|
||||
data = self._getRSSData(searchStr.encode('utf-8'))
|
||||
|
||||
|
|
|
@ -174,7 +174,7 @@ class NextGenProvider(generic.TorrentProvider):
|
|||
|
||||
return [search_string]
|
||||
|
||||
def _doSearch(self, search_params):
|
||||
def _doSearch(self, search_params, show=None, age=None):
|
||||
|
||||
results = []
|
||||
items = {'Season': [], 'Episode': [], 'RSS': []}
|
||||
|
|
|
@ -77,7 +77,7 @@ class NyaaProvider(generic.TorrentProvider):
|
|||
def _get_episode_search_strings(self, ep_obj):
|
||||
return self._get_season_search_strings(ep_obj.show, ep_obj.season)
|
||||
|
||||
def _doSearch(self, search_string, show=None):
|
||||
def _doSearch(self, search_string, show=None, age=None):
|
||||
|
||||
params = {"term": search_string.encode('utf-8'),
|
||||
"sort": '2', #Sort Descending By Seeders
|
||||
|
|
|
@ -59,7 +59,7 @@ class NZBsProvider(generic.NZBProvider):
|
|||
def _get_episode_search_strings(self, ep_obj):
|
||||
return ['^' + x for x in show_name_helpers.makeSceneSearchString(ep_obj)]
|
||||
|
||||
def _doSearch(self, curString, show=None):
|
||||
def _doSearch(self, curString, show=None, age=None):
|
||||
|
||||
curString = curString.replace('.', ' ')
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ class NZBsRUSProvider(generic.NZBProvider):
|
|||
def _get_episode_search_strings(self, ep_obj):
|
||||
return ['^' + x for x in show_name_helpers.makeSceneSearchString(ep_obj)]
|
||||
|
||||
def _doSearch(self, search, show=None):
|
||||
def _doSearch(self, search, show=None, age=None):
|
||||
params = {'uid': sickbeard.NZBSRUS_UID,
|
||||
'key': sickbeard.NZBSRUS_HASH,
|
||||
'xml': 1,
|
||||
|
|
|
@ -124,7 +124,7 @@ class PublicHDProvider(generic.TorrentProvider):
|
|||
|
||||
return [search_string]
|
||||
|
||||
def _doSearch(self, search_params, show=None):
|
||||
def _doSearch(self, search_params, show=None, age=None):
|
||||
|
||||
results = []
|
||||
items = {'Season': [], 'Episode': [], 'RSS': []}
|
||||
|
|
|
@ -141,7 +141,7 @@ class SCCProvider(generic.TorrentProvider):
|
|||
|
||||
return [search_string]
|
||||
|
||||
def _doSearch(self, search_params, show=None):
|
||||
def _doSearch(self, search_params, show=None, age=None):
|
||||
|
||||
results = []
|
||||
items = {'Season': [], 'Episode': [], 'RSS': []}
|
||||
|
|
|
@ -226,7 +226,7 @@ class ThePirateBayProvider(generic.TorrentProvider):
|
|||
|
||||
return [search_string]
|
||||
|
||||
def _doSearch(self, search_params, show=None):
|
||||
def _doSearch(self, search_params, show=None, age=None):
|
||||
|
||||
results = []
|
||||
items = {'Season': [], 'Episode': [], 'RSS': []}
|
||||
|
|
|
@ -159,7 +159,7 @@ class TorrentDayProvider(generic.TorrentProvider):
|
|||
|
||||
return [search_string]
|
||||
|
||||
def _doSearch(self, search_params):
|
||||
def _doSearch(self, search_params, show=None, age=None):
|
||||
|
||||
results = []
|
||||
items = {'Season': [], 'Episode': [], 'RSS': []}
|
||||
|
|
|
@ -140,7 +140,7 @@ class TorrentLeechProvider(generic.TorrentProvider):
|
|||
|
||||
return [search_string]
|
||||
|
||||
def _doSearch(self, search_params, show=None):
|
||||
def _doSearch(self, search_params, show=None, age=None):
|
||||
|
||||
results = []
|
||||
items = {'Season': [], 'Episode': [], 'RSS': []}
|
||||
|
|
Loading…
Reference in a new issue