mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-09 05:09:27 +01:00
Add support for kere.ws newznab provider
This commit is contained in:
@@ -254,6 +254,17 @@ def searchNZB(albumid=None, new=False, losslessOnly=False):
|
||||
logger.info("Album type is audiobook/spokenword. Using audiobook category")
|
||||
|
||||
for newznab_host in newznab_hosts:
|
||||
|
||||
# Add a little mod for kere.ws
|
||||
if newznab_host[0] == "http://kere.ws":
|
||||
if categories == "3040":
|
||||
categories = categories + ",4070"
|
||||
elif categories == "3040,3010":
|
||||
categories = categories + ",4070,4010"
|
||||
elif categories == "3010":
|
||||
categories = categories + ",4010"
|
||||
else:
|
||||
categories = categories + ",4050"
|
||||
|
||||
params = { "t": "search",
|
||||
"apikey": newznab_host[1],
|
||||
|
||||
Reference in New Issue
Block a user