new HTML formatter using webkit
This commit is contained in:
parent
b6cbd074b2
commit
5bbe266c8c
10 changed files with 178 additions and 8 deletions
|
|
@ -81,6 +81,6 @@ class Weboorrents(ConsoleApplication):
|
|||
|
||||
@ConsoleApplication.command('Search torrents')
|
||||
def command_search(self, pattern=None):
|
||||
print u'Search pattern: %s' % pattern if pattern else u'Last torrents'
|
||||
self.set_header(u'Search pattern: %s' % pattern if pattern else u'Last torrents')
|
||||
for backend, torrent in self.weboob.do('iter_torrents', pattern=pattern):
|
||||
self.format(torrent, backend.name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue