From 35ef3d36d50fe4cfd20db6f14bb0017b39319899 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Thu, 3 Oct 2024 14:56:02 -0700 Subject: curl show error when silent --- sh/curlqb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh/curlqb') diff --git a/sh/curlqb b/sh/curlqb index d2851cd..fca3026 100755 --- a/sh/curlqb +++ b/sh/curlqb @@ -4,7 +4,7 @@ # if do this also need change .py.1 to .py else qbt will not accept # also if a.py and a_1.py, qbt will not accept the latter, maybe need to change some .py codes inside # now, I choose to let three files to be overwrited, those are "with categories" .py files that overwrite without categories .py files, which is what I want so I don't use --no-clobber -curl -s 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins' | awk -F'"' ' +curl -sS 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins' | awk -F'"' ' /user-content-plugins-for-private-sites/ {exit} /\.py/ { url=$2 @@ -14,7 +14,7 @@ curl -s 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-pl if($0 !~ /❗|✖/) print url } -' | xargs curl -s -Z -L --remote-name-all --create-dirs --output-dir "$1" -- +' | xargs curl -sS -Z -L --remote-name-all --create-dirs --output-dir "$1" -- # an alternative awk command: #awk -F'"' ' -- cgit v1.2.3-70-g09d2