diff --git a/app/modules/indexer/spider/mtorrent.py b/app/modules/indexer/spider/mtorrent.py index a4bb6ac2..d5f9403d 100644 --- a/app/modules/indexer/spider/mtorrent.py +++ b/app/modules/indexer/spider/mtorrent.py @@ -127,6 +127,8 @@ class MTorrentSpider: 'labels': labels, 'category': category } + if discount_end_time := (result.get('status') or {}).get('discountEndTime'): + torrent['freedate'] = StringUtils.format_timestamp(discount_end_time) torrents.append(torrent) return torrents