Merge branch 'master' into torrent

This commit is contained in:
Death916 2026-01-29 02:54:51 -08:00 committed by GitHub
commit 507d53b0ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,6 +135,7 @@ class Qbittorrent:
try:
self.download_path = self.download_path + "/"
torrent.torrents_add(urls=link, save_path=self.download_path)
torrent.torrents_add(urls=link, save_path=self.download_path, content_layout=self.content_layout)
logging.info(f"Added torrent {link} to qbittorrent")
except Exception as e:
logging.error(f"Error adding torrent {link} to qbittorrent: {e}")