mirror of
https://github.com/Death916/c2cscrape.git
synced 2026-04-10 03:04:40 -07:00
Merge branch 'master' into torrent
This commit is contained in:
commit
507d53b0ea
1 changed files with 1 additions and 0 deletions
|
|
@ -135,6 +135,7 @@ class Qbittorrent:
|
||||||
try:
|
try:
|
||||||
self.download_path = self.download_path + "/"
|
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)
|
||||||
|
torrent.torrents_add(urls=link, save_path=self.download_path, content_layout=self.content_layout)
|
||||||
logging.info(f"Added torrent {link} to qbittorrent")
|
logging.info(f"Added torrent {link} to qbittorrent")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error(f"Error adding torrent {link} to qbittorrent: {e}")
|
logging.error(f"Error adding torrent {link} to qbittorrent: {e}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue