[scraper] fixes 1337x size parsing
This commit is contained in:
parent
03d37918cd
commit
e904dea5e6
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ function parseSize(sizeText) {
|
|||
} else if (sizeText.includes('KB')) {
|
||||
scale = 1024;
|
||||
}
|
||||
return Math.floor(parseFloat(sizeText) * scale);
|
||||
return Math.floor(parseFloat(sizeText.replace(/,/g, '')) * scale);
|
||||
}
|
||||
|
||||
module.exports = { torrent, search, browse, Categories };
|
||||
|
|
|
|||
Loading…
Reference in a new issue