Skip to content

Commit

Permalink
gktorrent, oxtorrent: msgnets only. resolves Jackett#10448
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Dec 9, 2020
1 parent e4d571a commit 4ceb989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
9 changes: 1 addition & 8 deletions src/Jackett.Common/Definitions/gktorrent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@ caps:
book-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 @@ -78,7 +71,7 @@ settings:
default: false

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

search:
Expand Down
13 changes: 1 addition & 12 deletions src/Jackett.Common/Definitions/oxtorrent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@ caps:
book-search: [q]

settings:
- name: downloadlink
type: select
label: Download link
default: "magnet:?xt="
options:
"get_torrents": ".torrent"
"magnet:?xt=": "magnet"
- name: info_downloadlink
type: info
label: "About the Download Link"
default: "Note that only <b>www.oxtorrent.cc</b> supports the use of the <b>.torrent</b> download link.<br />All sites support <b>magnet</b> links."
- name: multilang
type: checkbox
label: Replace MULTI by another language in release name
Expand All @@ -75,7 +64,7 @@ settings:
default: false

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

search:
Expand Down

0 comments on commit 4ceb989

Please sign in to comment.