summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-03-30 17:13:04 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-03-30 17:13:04 -0700
commit8c604480b2d4b4bc6b91ae348de7d566f827621c (patch)
tree644e6d494d207f972c6f5180e66d4bf399cf966e
parent3f9be8faee6763815f3041f5f82a632d3b865a16 (diff)
better link to newest version of qbt api docHEADmaster
-rwxr-xr-xsh/upd2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/upd b/sh/upd
index d57152a..ea30386 100755
--- a/sh/upd
+++ b/sh/upd
@@ -257,7 +257,7 @@ monthly_misc () {
ssh -t studio 'sudo mv /tmp/mirrorlist /etc/pacman.d/mirrorlist && sudo chown root:root /etc/pacman.d/mirrorlist'
fi
- # https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)
+ # https://github.com/qbittorrent/qBittorrent/wiki#webui-api
curl -sS -X POST 'ibwg:57151/api/v2/search/updatePlugins' &
for qbt_wireguard_host in stwg ibwg; do
curl -sS https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best.txt | awk '$0{printf("%s\\n",$0)}' | xargs -0 -I {} curl -sS -d json='{"add_trackers":"{}"}' "$qbt_wireguard_host:57151/api/v2/app/setPreferences" &