summaryrefslogtreecommitdiff
path: root/sh/curlqb
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-12-30 04:51:15 -0800
committerXiao Pan <xyz@flylightning.xyz>2024-12-30 04:51:15 -0800
commit375a28ed0fc9edee8492c999dd37f4af3b5cc1c7 (patch)
treee8c85376ff858e385d77e9967a7463f99de37495 /sh/curlqb
parent5ed4aed43af41a9b9ac9b8e4bcc8cf69afd6b7f0 (diff)
No download yggtracker.py
yggtracker.py requires yggdrasil which I don't want to install
Diffstat (limited to 'sh/curlqb')
-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
#}