1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-04 02:38:08 +00:00

u2: fix custom dlvf & ulvf. resolves #14457 (#14461)

This commit is contained in:
ilike2burnthing 2023-06-15 19:44:12 +01:00 committed by GitHub
parent 6aee6d732a
commit e3880b9143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,11 +156,23 @@ search:
selector: td:nth-child(7)
grabs:
selector: td:nth-child(8)
downloadvolumefactor_custom:
selector: td.embedded > img.arrowdown + b
optional: true
filters:
- name: regexp
args: (.*)X
uploadvolumefactor_custom:
selector: td.embedded > img.arrowup + b
optional: true
filters:
- name: regexp
args: (.*)X
downloadvolumefactor:
case:
img.pro_free: 0
img.pro_free2up: 0
img.pro_custom: 0
img.pro_custom: "{{ .Result.downloadvolumefactor_custom }}"
img.pro_50pctdown: 0.5
img.pro_50pctdown2up: 0.5
img.pro_30pctdown: 0.3
@ -170,7 +182,7 @@ search:
img.pro_50pctdown2up: 2
img.pro_free2up: 2
img.pro_2up: 2
img.pro_custom: 3
img.pro_custom: "{{ .Result.uploadvolumefactor_custom }}"
"*": 1
description:
selector: td:nth-child(2)