1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 12:46:23 +00:00

limetorrents: make downloadlink optionally itorrent or magnet

This commit is contained in:
Garfield69 2017-12-27 20:43:23 +13:00
parent 68cbd6e6be
commit 44dbdf2f10

View file

@ -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: