Allow spotweb url without rewriterule. fix #1248
This commit is contained in:
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):
|
||||
|
||||
Reference in new issue
Block a user