Display magnet URLs when present
This commit is contained in:
parent
381e03e7cd
commit
f8843084f0
1 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,8 @@ class TorrentInfoFormatter(IFormatter):
|
|||
result += 'Seeders: %s\n' % item['seeders']
|
||||
result += 'Leechers: %s\n' % item['leechers']
|
||||
result += 'URL: %s\n' % item['url']
|
||||
if item['magnet']:
|
||||
result += 'Magnet URL: %s\n' % item['magnet']
|
||||
if item['files']:
|
||||
result += '\n%sFiles%s\n' % (self.BOLD, self.NC)
|
||||
for f in item['files']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue