mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
limetorrents: make downloadlink optionally itorrent or magnet
This commit is contained in:
@@ -22,10 +22,18 @@
|
|||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
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:
|
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:
|
search:
|
||||||
paths:
|
paths:
|
||||||
|
Reference in New Issue
Block a user