From e7062a671054041c7c84f8bb3a38a42294a3f6b5 Mon Sep 17 00:00:00 2001 From: Ade Date: Sat, 2 Sep 2017 19:14:37 +1200 Subject: [PATCH] Jackett/Torznab v2 api Fixes #2999 --- data/interfaces/default/config.html | 6 +++--- headphones/searcher.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/interfaces/default/config.html b/data/interfaces/default/config.html index 3859d4a7..28888cae 100644 --- a/data/interfaces/default/config.html +++ b/data/interfaces/default/config.html @@ -720,8 +720,8 @@
- - e.g. http://localhost:9117/torznab/iptorrents + + e.g. http://localhost:9117/api/v2.0/indexers/demonoid/results/torznab/
@@ -744,7 +744,7 @@
- +
diff --git a/headphones/searcher.py b/headphones/searcher.py index 109901e0..96a45c76 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -1318,7 +1318,7 @@ def searchTorrent(album, new=False, losslessOnly=False, albumlength=None, } data = request.request_feed( - url=torznab_host[0] + '/api?', + url=torznab_host[0], params=params, headers=headers )