mirror of https://github.com/Jackett/Jackett
Isohunt2: fix size parsing (#3127)
Sometimes when parsing, the size of the rel was not enough to have Gb instead Mb or Kb to Mb or whatever So the size in row is for example 1.015.22 Mb (less than 1024) So in this case the parser return error I searched a way to replace this, I found a solution, hope that works in a log way
This commit is contained in:
parent
6293c787e7
commit
88202c1f7f
|
@ -77,6 +77,9 @@
|
||||||
attribute: href
|
attribute: href
|
||||||
size:
|
size:
|
||||||
selector: td.size-row
|
selector: td.size-row
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(\\d+).(?=\\d{3}(\\D|$))", "$1"]
|
||||||
seeders:
|
seeders:
|
||||||
selector: td.sn
|
selector: td.sn
|
||||||
date:
|
date:
|
||||||
|
@ -96,4 +99,4 @@
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: "0"
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: "1"
|
||||||
|
|
Loading…
Reference in New Issue