display files in torrent
This commit is contained in:
parent
2ee1c761ea
commit
bcc3079d41
2 changed files with 8 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ class Weboorrents(ConsoleApplication):
|
|||
rows.append(('Seeders', torrent.seeders))
|
||||
rows.append(('Leechers', torrent.leechers))
|
||||
rows.append(('Description', torrent.description))
|
||||
if torrent.files:
|
||||
rows.append(('Files', '\n'.join(torrent.files)))
|
||||
return {backend.name: rows}
|
||||
|
||||
@ConsoleApplication.command('Search torrents')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue