mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Torrentz2: Add support for itorrents download links
This commit is contained in:
@@ -36,7 +36,10 @@
|
|||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
settings: []
|
settings:
|
||||||
|
- name: itorrents-links
|
||||||
|
type: checkbox
|
||||||
|
label: Add download links via itorrents.org
|
||||||
|
|
||||||
search:
|
search:
|
||||||
path: searchA
|
path: searchA
|
||||||
@@ -52,7 +55,20 @@
|
|||||||
details:
|
details:
|
||||||
selector: dt a
|
selector: dt a
|
||||||
attribute: href
|
attribute: href
|
||||||
|
download-itorrents:
|
||||||
|
selector: dt a
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "/(\\w+)"
|
||||||
|
- name: toupper
|
||||||
|
- name: prepend
|
||||||
|
args: http://itorrents.org/torrent/
|
||||||
|
- name: append
|
||||||
|
args: ".torrent"
|
||||||
download:
|
download:
|
||||||
|
text: "{{if .Config.itorrents-links}}{{ .Result.download-itorrents }}{{else}}{{end}}"
|
||||||
|
magnet:
|
||||||
selector: dt a
|
selector: dt a
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
|
Reference in New Issue
Block a user