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