diff options
Diffstat (limited to 'home/xyz/.local/bin/curlqb')
-rwxr-xr-x | home/xyz/.local/bin/curlqb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/home/xyz/.local/bin/curlqb b/home/xyz/.local/bin/curlqb index c3f6871b..d40ff6d1 100755 --- a/home/xyz/.local/bin/curlqb +++ b/home/xyz/.local/bin/curlqb @@ -11,3 +11,13 @@ curl -s 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-pl print url } ' | xargs curl -s -Z -L --remote-name-all --create-dirs --output-dir "$1" -- + +# an alternative awk command: +#awk -F'"' ' +#/require an account/ {exit} +#/\.py/ { +# url=$2 +# line=NR +#} +#url && NR==line+3 && !/❗|✖/ {print url} +#' |