mirror of
https://github.com/Jackett/Jackett
synced 2025-01-21 06:59:18 +00:00
parent
2f8a093962
commit
ff1d818d5f
1 changed files with 12 additions and 13 deletions
|
@ -96,9 +96,7 @@
|
||||||
selector: .title a
|
selector: .title a
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: "{{if .Result._year}} {{.Result._year}}{{else}}{{end}}"
|
args: "{{ if .Result._year }} {{ .Result._year }}{{else}}{{end}}{{ if .Result._filetype }} {{ .Result._filetype }}{{else}}{{end}}"
|
||||||
- name: append
|
|
||||||
args: "{{if .Result._filetype}} {{.Result._filetype}}{{else}}{{end}}"
|
|
||||||
details:
|
details:
|
||||||
selector: .title a
|
selector: .title a
|
||||||
attribute: href
|
attribute: href
|
||||||
|
@ -110,11 +108,11 @@
|
||||||
download:
|
download:
|
||||||
selector: a[title="Download"]
|
selector: a[title="Download"]
|
||||||
attribute: href
|
attribute: href
|
||||||
files:
|
# files:
|
||||||
selector: .t_files_size_added
|
# selector: .t_files_size_added
|
||||||
filters:
|
# filters:
|
||||||
- name: regex
|
# - name: regexp
|
||||||
args: "(\\d+) file"
|
# args: "^\\s*(\\d+)\\s*file"
|
||||||
size:
|
size:
|
||||||
selector: .t_files_size_added
|
selector: .t_files_size_added
|
||||||
filters:
|
filters:
|
||||||
|
@ -122,23 +120,24 @@
|
||||||
args: [",", 1]
|
args: [",", 1]
|
||||||
- name: trim
|
- name: trim
|
||||||
seeders:
|
seeders:
|
||||||
text: "0"
|
text: 0
|
||||||
seeders:
|
seeders:
|
||||||
optional: true
|
optional: true
|
||||||
selector: .seeders
|
selector: .seeders
|
||||||
leechers:
|
leechers:
|
||||||
text: "0"
|
text: 0
|
||||||
leechers:
|
leechers:
|
||||||
optional: true
|
optional: true
|
||||||
selector: .leechers
|
selector: .leechers
|
||||||
grabs:
|
grabs:
|
||||||
text: "0"
|
text: 0
|
||||||
grabs:
|
grabs:
|
||||||
optional: true
|
optional: true
|
||||||
selector: .snatches
|
selector: .snatches
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"*": "1"
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"*": "1"
|
"*": 1
|
||||||
|
# engine tbc
|
||||||
|
|
Loading…
Reference in a new issue