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:
parent
68cbd6e6be
commit
44dbdf2f10
1 changed files with 10 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue