implement Gazelle.get_torrent() method
This commit is contained in:
parent
1c85848195
commit
2ee1c761ea
4 changed files with 93 additions and 7 deletions
|
|
@ -58,6 +58,10 @@ class Weboorrents(ConsoleApplication):
|
|||
rows.append(('ID', torrent.id))
|
||||
rows.append(('Name', torrent.name))
|
||||
rows.append(('Size', torrent.size))
|
||||
rows.append(('URL', torrent.url))
|
||||
rows.append(('Seeders', torrent.seeders))
|
||||
rows.append(('Leechers', torrent.leechers))
|
||||
rows.append(('Description', torrent.description))
|
||||
return {backend.name: rows}
|
||||
|
||||
@ConsoleApplication.command('Search torrents')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue