|
@ -51,7 +51,7 @@ class Newznab(NZBProvider, RSS): |
|
|
def singleFeed(self, host): |
|
|
def singleFeed(self, host): |
|
|
|
|
|
|
|
|
results = [] |
|
|
results = [] |
|
|
if self.isDisabled(host) or not self.isAvailable(self.getUrl(host['host'], self.urls['search'])): |
|
|
if self.isDisabled(host): |
|
|
return results |
|
|
return results |
|
|
|
|
|
|
|
|
arguments = tryUrlencode({ |
|
|
arguments = tryUrlencode({ |
|
@ -83,7 +83,7 @@ class Newznab(NZBProvider, RSS): |
|
|
def singleSearch(self, host, movie, quality): |
|
|
def singleSearch(self, host, movie, quality): |
|
|
|
|
|
|
|
|
results = [] |
|
|
results = [] |
|
|
if self.isDisabled(host) or not self.isAvailable(self.getUrl(host['host'], self.urls['search'])): |
|
|
if self.isDisabled(host): |
|
|
return results |
|
|
return results |
|
|
|
|
|
|
|
|
cat_id = self.getCatId(quality['identifier']) |
|
|
cat_id = self.getCatId(quality['identifier']) |
|
|