This script automatically fetches the latest Linux distribution torrents from DistroWatch's RSS feed, downloads them, and adds them to qBittorrent using its Web API.
Fetches the latest Linux torrents from DistroWatch RSS.
Downloads .torrent
files and uploads them to qBittorrent.
Uses a virtual environment for better package management.
Prevents duplicate torrents by checking existing ones in qBittorrent.
Can run automatically via cron or systemd.
cd /opt/
git clone https://github.com/fmcglinn/distrowatch-qbt.git
cd distrowatch-qbt
bash init.sh
Copy example .env
file in the project directory to store qBittorrent credentials, modify acordingly:
cp .env.example .env
bash run.sh
cd /etc/cron.daily/
ln -s /opt/distrowatch-qbt/run.sh distrowatch-qbt