Allow spotweb url without rewriterule. fix #1248

This commit is contained in:
Ruud committed 2013-01-08 20:28:59 +01:00
1 parent 14e0219e62
commit 87574a1810
1 file changed
+3
@@ -104,6 +104,9 @@ class Newznab(NZBProvider, RSS):
return result
def getUrl(self, host, type):
if '?page=newznabapi' in host:
return cleanHost(host)[:-1] + '&t=' + type
return cleanHost(host) + 'api?t=' + type
def isDisabled(self, host):