diff options
author | xyz <gky44px1999@gmail.com> | 2021-11-21 01:19:08 -0800 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-11-21 01:19:08 -0800 |
commit | f9c2f6d9a1d2293d63985b26ba5977d008a9b407 (patch) | |
tree | 40156f13aea12433fca1c38cc57fdfdaef573978 /home/xyz | |
parent | d6a96ab66aa6a9a850c52eadf234550ca39cb885 (diff) |
curlqb; match string break, use a new one
Diffstat (limited to 'home/xyz')
-rwxr-xr-x | home/xyz/.local/bin/curlqb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/home/xyz/.local/bin/curlqb b/home/xyz/.local/bin/curlqb index a8a6baa5..c3f6871b 100755 --- a/home/xyz/.local/bin/curlqb +++ b/home/xyz/.local/bin/curlqb @@ -1,7 +1,7 @@ #!/bin/sh curl -s 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins' | awk -F'"' ' -/Plugins for Private sites/ {exit} +/require an account/ {exit} /\.py/ { url=$2 getline @@ -11,5 +11,3 @@ 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" -- - -#curl -s 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins' | awk -F'"' '/Plugins for Private sites/{exit} /\.py/{url=$2;getline;getline;getline;if($0 !~ /❗|✖/)print url}' | xargs curl -s -Z -L --remote-name-all --create-dirs --output-dir "$1" -- |