mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
add scrape info #11
This commit is contained in:
parent
62ad522286
commit
0609d5775f
2 changed files with 37 additions and 0 deletions
|
|
@ -57,6 +57,12 @@ class TorrentController extends AbstractController
|
|||
[
|
||||
'id' => $torrent->getId(),
|
||||
'added' => $torrent->getAdded(),
|
||||
'scrape' =>
|
||||
[
|
||||
'seeders' => (int) $torrent->getSeeders(),
|
||||
'peers' => (int) $torrent->getPeers(),
|
||||
'leechers' => (int) $torrent->getLeechers(),
|
||||
],
|
||||
'locales' => $torrentService->findLastTorrentLocales($torrent->getId()),
|
||||
'sensitive' => $torrentService->findLastTorrentSensitive($torrent->getId())->isValue(),
|
||||
'download' =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue