fix: possible fix for pixel drain and torbox cancel download

This commit is contained in:
Zamitto 2024-12-25 23:15:58 -03:00
parent c9ae543d3e
commit 6ea1f9034b
7 changed files with 31 additions and 25 deletions

View file

@ -102,7 +102,7 @@ class TorrentDownloader:
"http://bvarf.tracker.sh:2086/announce",
]
def start_download(self, magnet: str, save_path: str, header: str):
def start_download(self, magnet: str, save_path: str):
params = {'url': magnet, 'save_path': save_path, 'trackers': self.trackers, 'flags': self.flags}
self.torrent_handle = self.session.add_torrent(params)
self.torrent_handle.resume()