mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix(builtins/torznab): extract size from torznab attribute too
This commit is contained in:
@@ -73,7 +73,9 @@ export class TorznabAddon extends BaseNabAddon<NabAddonConfig, TorznabApi> {
|
||||
: undefined,
|
||||
indexer: result.jackettindexer?.name ?? undefined,
|
||||
title: result.title,
|
||||
size: result.size ?? 0,
|
||||
size:
|
||||
result.size ??
|
||||
(result.torznab?.size ? Number(result.torznab.size) : 0),
|
||||
type: 'torrent',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user