My problem is that I have so many torrent files that I need to attach. I have them all in a list.
torrent_list = ['file1.torrent', 'file2.torrent', etc.......]
Downloading torrents by file:
torrent_file = open('my-torrent-file.torrent', 'rb')
qb.download_from_file(torrent_file)
Downloading multiple torrents by using files:
I Am not able to get it work without writing it manually like it is shown in the example. I want to load them all from the list. can someone help with this?
torrent_file_list = [open('1.torrent', 'rb'), open('2.torrent', 'rb')]
qb.download_from_file(torrent_file_list)