Skip to content

Wildcard Tracker Adding #64

Answered by fedarovich
SalmonSays asked this question in Q&A
Discussion options

You must be logged in to vote

Well, while qBittorrent-CLI relies on the same API as used by the web interface, it does not support it directly.

However, you can do it quite easily using the features of your command line shell.

For bash you can use the following command:

qbt torrent list -F json | jq .[].hash | xargs -n 1 -I {} qbt torrent tracker add {} https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best.txt

and for powershell this one:

(qbt torrent list -F json | ConvertFrom-JSON).hash | %{& qbt torrent tracker add $_  https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best.txt}

Both these scripts perform the same steps:

  1. Get the torrent list in JSON format.
  2. Extract torrent…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@SalmonSays
Comment options

@fedarovich
Comment options

Answer selected by fedarovich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants