mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
1337x: make download link configurable
This commit is contained in:
parent
97a5d58f13
commit
80960665ec
1 changed files with 9 additions and 2 deletions
|
@ -103,11 +103,18 @@
|
|||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
|
||||
settings: []
|
||||
settings:
|
||||
- name: downloadlink
|
||||
type: select
|
||||
label: Download link
|
||||
default: "magnet:"
|
||||
options:
|
||||
"http://itorrents.org/" : "iTorrents.org"
|
||||
"magnet:": "magnet"
|
||||
|
||||
download:
|
||||
# the .torrent url is on the on the details page
|
||||
selector: ul li a[href^="http://itorrents.org/"]
|
||||
selector: ul li a[href^="{{ .Config.downloadlink }}"]
|
||||
|
||||
search:
|
||||
paths:
|
||||
|
|
Loading…
Reference in a new issue