Skip to content

Commit

Permalink
gktorrent: fix config .torrent option
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Sep 22, 2020
1 parent 24bffe9 commit 1169e08
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Jackett.Common/Definitions/gktorrent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -69,7 +76,7 @@ settings:
default: false

download:
selector: a[href^="magnet:?xt="]
selector: a[href*="{{ .Config.downloadlink }}"]
attribute: href

search:
Expand Down

0 comments on commit 1169e08

Please sign in to comment.