torrent_download.download package

Submodules

torrent_download.download.QBittorrentDownloader module

class torrent_download.download.QBittorrentDownloader.QBittorrentDownloader(url: str, username: str, password: str, download_dir: str)

Bases: object

Class that uses the qBittorrent Server API to download torrents

__init__(url: str, username: str, password: str, download_dir: str)
Parameters
  • url

  • username

  • password

  • download_dir

download(torrents: List[torrent_download.entities.TorrentDownload.TorrentDownload])

Downloads a list of torrent files :param torrents: The torrents to download :return: None

classmethod from_config()torrent_download.download.QBittorrentDownloader.QBittorrentDownloader
Returns

A QBittorrentDownloader object based on the stored configuration files

Module contents