Allow spotweb url without rewriterule. fix #1248
This commit is contained in:
@@ -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