gktorrent, oxtorrent: add config download optoin. resolves #6848

This commit is contained in:
Garfield69 2020-01-07 15:05:42 +13:00
parent 9aedb34dc9
commit 76c9000393
2 changed files with 18 additions and 4 deletions

View File

@ -43,10 +43,17 @@
tv-search: [q, season, ep]
movie-search: [q]
settings: []
settings:
- name: downloadlink
type: select
label: Download link
default: "magnet:?xt="
options:
"/get_torrents/" : ".torrent"
"magnet:?xt=": "magnet"
download:
selector: a[href^="magnet:?xt="]
selector: a[href*="{{ .Config.downloadlink }}"]
search:
paths:

View File

@ -28,10 +28,17 @@
tv-search: [q, season, ep]
movie-search: [q]
settings: []
settings:
- name: downloadlink
type: select
label: Download link
default: "magnet:?xt="
options:
"/get_torrents/" : ".torrent"
"magnet:?xt=": "magnet"
download:
selector: a[href^="magnet:?xt="]
selector: a[href*="{{ .Config.downloadlink }}"]
search:
paths: