def print_menu(arg=0):
if arg == 0:
print '''
------ Help Menu -------
Available Commands :
1. m<result number> - Print magnet link of selected torrent
2. c<result number> - Copy magnet link of selected torrent to clipboard
3. d<result number> - Download torrent using default torrent client
4. o<result number> - Open the torrent page of the selected torrent in the default browser
5. cs<result number> - Copy magnet link and open seedr.cc
6. cz<result number> - Copy magnet link and open zbigz
7. p[optional:<choice>] - Print top 10 results from each website for the given query
<choice> : [{default : 1}, {0 : Print formatted result}, {1 : Pretty print results}]
8. s - Enter a new query to search for over all avilable torrent websites
9. r - Repeat last search (with same query)
------------------------'''
elif arg == 1:
print '''
Enter 'q' to exit and 'h' to see all available commands.
'''
评论列表
文章目录