diff options
| author | Xiao Pan <xyz@flylightning.xyz> | 2025-01-01 20:36:06 -0800 | 
|---|---|---|
| committer | Xiao Pan <xyz@flylightning.xyz> | 2025-01-01 20:36:06 -0800 | 
| commit | 6d2fbbd657d9c91251108955dce574c22aef2586 (patch) | |
| tree | f46f896ada18a68b577a565c3398834302fe6d7a /sh/upd | |
| parent | b1aba12e9e0fccf0751fd7ba8b05397aba23d24e (diff) | |
still consider ia because why not
Diffstat (limited to 'sh/upd')
| -rwxr-xr-x | sh/upd | 3 | 
1 files changed, 2 insertions, 1 deletions
| @@ -259,8 +259,9 @@ monthly_misc () {  		fi  		# https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1) +		curl -sS -X POST '10.0.0.4:57151/api/v2/search/updatePlugins' &  		curl -sS -X POST '10.0.0.8:57151/api/v2/search/updatePlugins' & -		for qbt_wireguard_ip in 10.0.0.3 10.0.0.8; do +		for qbt_wireguard_ip in 10.0.0.3 10.0.0.4 10.0.0.8; 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_ip:57151/api/v2/app/setPreferences" &  			# another way: `jq -r '.[]|"\(.added_on)\t\(.hash)\t\(.name)"'`  			curl -sS "$qbt_wireguard_ip:57151/api/v2/torrents/info?category=useful" | jq -r '.[]|[.added_on,.hash,.name]|@tsv' | grep 'archlinux.*\.iso' | sort -n | head -n-1 | awk '{print $2}' | while read -r hash; do | 
