summaryrefslogtreecommitdiff
path: root/sh/curlqb
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-12-30 04:28:56 -0800
committerXiao Pan <xyz@flylightning.xyz>2024-12-30 04:28:56 -0800
commit5ed4aed43af41a9b9ac9b8e4bcc8cf69afd6b7f0 (patch)
tree59ff90d2203c01a53ae9cf6df99b24083bd880bb /sh/curlqb
parent739f7d18ff41c48070ab3586d9dbedbdf2bf94aa (diff)
Fix: consider new symbol
In Tokyo Toshokan secion of the wiki, it used new symbol ❌ to show it breaks qbt plugin system.
Diffstat (limited to 'sh/curlqb')
-rwxr-xr-xsh/curlqb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/curlqb b/sh/curlqb
index fca3026..5332616 100755
--- a/sh/curlqb
+++ b/sh/curlqb
@@ -11,7 +11,7 @@ curl -sS 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-p
getline
getline
getline
- if($0 !~ /❗|✖/)
+ if($0 !~ /❗|✖|❌/)
print url
}
' | xargs curl -sS -Z -L --remote-name-all --create-dirs --output-dir "$1" --
@@ -23,5 +23,5 @@ curl -sS 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-p
# url=$2
# line=NR
#}
-#url && NR==line+3 && !/❗|✖/ {print url}
+#url && NR==line+3 && !/❗|✖|❌/ {print url}
#'