From 659312a0bb4bca4ce5f47a639d6430d1053b15a0 Mon Sep 17 00:00:00 2001 From: death916 Date: Thu, 29 Jan 2026 03:00:30 -0800 Subject: [PATCH] subdir for downloads --- src/c2cscrape.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/c2cscrape.py b/src/c2cscrape.py index c0d0af4..6758045 100644 --- a/src/c2cscrape.py +++ b/src/c2cscrape.py @@ -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}")