Private GIT

Skip to content
Snippets Groups Projects
Commit 87574a18 authored by Ruud's avatar Ruud
Browse files

Allow spotweb url without rewriterule. fix #1248

parent 14e0219e
No related branches found
No related tags found
No related merge requests found
...@@ -104,6 +104,9 @@ class Newznab(NZBProvider, RSS): ...@@ -104,6 +104,9 @@ class Newznab(NZBProvider, RSS):
return result return result
def getUrl(self, host, type): def getUrl(self, host, type):
if '?page=newznabapi' in host:
return cleanHost(host)[:-1] + '&t=' + type
return cleanHost(host) + 'api?t=' + type return cleanHost(host) + 'api?t=' + type
def isDisabled(self, host): def isDisabled(self, host):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment