gktorrent: fix config .torrent option

This commit is contained in:
Garfield69 2020-09-22 14:57:39 +12:00
parent 24bffe9dae
commit 1169e08b30
1 changed files with 8 additions and 1 deletions

View File

@ -48,6 +48,13 @@ caps:
music-search: [q]
settings:
- name: downloadlink
type: select
label: Download link
default: "magnet:?xt="
options:
"get_torrent": ".torrent"
"magnet:?xt=": "magnet"
- name: multilang
type: checkbox
label: Replace MULTI by another language in release name
@ -69,7 +76,7 @@ settings:
default: false
download:
selector: a[href^="magnet:?xt="]
selector: a[href*="{{ .Config.downloadlink }}"]
attribute: href
search: