mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-04-19 13:12:05 +00:00
[addon] apply sort by seeders pruning first when sorting by size
This commit is contained in:
parent
ee9491c4fa
commit
05c55af5c4
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ function sortBySeeders(streams, limit) {
|
|||
}
|
||||
|
||||
function sortBySize(streams, limit) {
|
||||
return streams
|
||||
return sortBySeeders(streams)
|
||||
.sort((a, b) => {
|
||||
const aSize = extractSize(a.title);
|
||||
const bSize = extractSize(b.title);
|
||||
|
|
|
|||
Loading…
Reference in a new issue