Important
Tested only with qBittorrent version 5.0.x.
qBittorrent Magnet Link Feeder is a Command-Line Interface (CLI) automation tool designed to streamline the bulk import of magnet links into qBittorrent.
The application accepts a target directory path as a command-line argument, scanning its root for .txt files containing magnet links. It then automates the process of importing these links into the qBittorrent user interface and automatically handles the confirmation dialogs. To keep your workspace clean, it organizes all active downloads into structured folders named after the source text file and the torrent index, completely eliminating naming conflicts.
๐ก The Perfect Companion Tool
This application serves as the ideal companion for BT4G-Torrent-Magnet-Scraper. While the scraper automates the harvesting of magnet links into text files, qBittorrent Magnet Link Feeder takes over the heavy lifting of importing and organizing those generated magnet lists directly into your qBittorrent client seamlessly.
qBittorrent_Magnet_Link_Feeder.exe_demo.mp4
- Automatically scans, detects, and processes
.txtfiles located in the root of the specified directory path. - Automatically structures your downloads into dedicated folders using the source
.txtfilename combined with a torrent index to prevent overwriting files. - Employs precise
SendKeyssimulation to interact with qBittorrent dialogs without requiring manual intervention. - Safely blocks user keyboard and mouse input during active automation sequences to guarantee flawless execution and prevent accidental misclicks.
- Designed with safety in mind; you can instantly break the input block and interrupt execution at any time by pressing
CTRL+ALT+DEL.
The UI automation relies on explicit window title strings to detect and automatically dismiss duplicate torrent dialogs. Currently, only English and Spanish qBitTorrent user interfaces are supported. If your qBittorrent client is configured in any other language and a duplicate dialog window appear, the automation will fail to recognize the window and it will result in other issues.
If you are a developer and want to add support for other languages, the process is straightforward:
- Add the localized window title to the
TORRENT_ALREADY_PRESENT_WINDOW_TITLEScollection in the source code. - Recompile the project with your changes using Visual Studio.
-
Microsoft Windows OS.
-
Having the following checkbox checked in qBitTorrent:
-
Having at least one plain text file (.txt) containing magnet URIs inside (to be automatically imported to qBitTorrent).
- Navigate to the Releases page.
- Download the latest
.ziparchive or the.exesetup installer, depending on your preference. - If you downloaded the
.ziparchive, extract its contents to your preferred directory.
If you downloaded the.exefile, run it and follow the installation wizard. - Run the executable file to launch the application.
Tip
You can press Ctrl + Alt + Del at any time during program execution to restore mouse and keyboard input.
Explore the complete list of changes, bug fixes, and improvements across different releases by clicking here.
Your contribution is highly appreciated!. If you have any ideas, suggestions, or encounter issues, feel free to open an issue by clicking here.
Your input helps make this Work better for everyone. Thank you for your support! ๐
This work is distributed for educational purposes and without any profit motive. However, if you find value in my efforts and wish to support and motivate my ongoing work, you may consider contributing financially through the following options:
| Platform | How to Support |
|---|---|
| Become my sponsor on GitHub Contribute any amount you prefer and unlock rewards! |
|
| Support me on Ko-fi Buy me a coffee! |
|
| Become a Patron on Patreon Support my open-source work regularly! |
|
| Make a PayPal Donation Donate any amount you like via PayPal! |
|
| Purchase my software at Envato's CodeCanyon Discover my desktop tools and DevCase Class Library for .NET, an extensive API suite. |
This work relies on the following technologies, libraries or resources:
This software and its associated repository are provided strictly on an "as is" basis, without warranties of any kind, whether express or implied. This includes, but is not limited to, any implied warranties of merchantability, reliability, or fitness for a particular purpose.
The authors and copyright holders assume no liability for any direct, indirect, incidental, or consequential damagesโincluding data loss or system errorsโarising from the use, misuse, or inability to use this software. You are solely responsible for determining the appropriateness of using this tool and assume all associated risks.
Furthermore, this project operates entirely independently. The utilization of any third-party libraries or components within this software does not imply any affiliation with, or endorsement or approval by, their respective original authors.
This project is licensed under the Apache License, Version 2.0. See the License file for details.


