From 44dbdf2f10bbe6421308eaf891e15cdef062e5d5 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 27 Dec 2017 20:43:23 +1300 Subject: [PATCH] limetorrents: make downloadlink optionally itorrent or magnet --- src/Jackett.Common/Definitions/limetorrents.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/limetorrents.yml b/src/Jackett.Common/Definitions/limetorrents.yml index 923f2f27b..72c87a997 100644 --- a/src/Jackett.Common/Definitions/limetorrents.yml +++ b/src/Jackett.Common/Definitions/limetorrents.yml @@ -22,10 +22,18 @@ search: [q] tv-search: [q, season, ep] - settings: [] + settings: + - name: downloadlink + type: select + label: Download link + default: "magnet:" + options: + "http://itorrents.org/" : "iTorrents.org" + "magnet:": "magnet" download: - selector: a.csprite_dltorrent[href^="magnet:?xt"] + # the .torrent url is on the on the details page + selector: a.csprite_dltorrent[href^="{{ .Config.downloadlink }}"] search: paths: