diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2024-10-03 14:56:02 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2024-10-03 14:56:02 -0700 |
commit | 35ef3d36d50fe4cfd20db6f14bb0017b39319899 (patch) | |
tree | 6b74f90f392d9e3870286c2a6fd4ad3e3f715acd /sh/curlqb | |
parent | b13a0c1b7b5d24a4c0790279e10c89f94253c6c6 (diff) |
curl show error when silent
Diffstat (limited to 'sh/curlqb')
-rwxr-xr-x | sh/curlqb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'"' ' |