mirror of
https://github.com/Death916/c2cscrape.git
synced 2026-04-10 03:04:40 -07:00
subdir for downloads
This commit is contained in:
parent
7ec0bf08f8
commit
659312a0bb
1 changed files with 4 additions and 1 deletions
|
|
@ -135,7 +135,10 @@ 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)
|
||||
torrent.torrents_add(
|
||||
urls=link,
|
||||
save_path=self.download_path,
|
||||
)
|
||||
logging.info(f"Added torrent {link} to qbittorrent")
|
||||
except Exception as e:
|
||||
logging.error(f"Error adding torrent {link} to qbittorrent: {e}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue