summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rwxr-xr-xsh/curlqb5
1 files changed, 3 insertions, 2 deletions
diff --git a/sh/curlqb b/sh/curlqb
index 5332616..f70a6a3 100755
--- a/sh/curlqb
+++ b/sh/curlqb
@@ -4,9 +4,10 @@
# 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
+# yggtracker.py requires yggdrasil which I don't want to install
curl -sS 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins' | awk -F'"' '
/user-content-plugins-for-private-sites/ {exit}
-/\.py/ {
+(/\.py/ && !/yggtracker/) {
url=$2
getline
getline
@@ -19,7 +20,7 @@ curl -sS 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-p
# an alternative awk command:
#awk -F'"' '
#/require an account/ {exit}
-#/\.py/ {
+#(/\.py/ && !/yggtracker/) {
# url=$2
# line=NR
#}