From 5ed4aed43af41a9b9ac9b8e4bcc8cf69afd6b7f0 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Mon, 30 Dec 2024 04:28:56 -0800 Subject: Fix: consider new symbol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In Tokyo Toshokan secion of the wiki, it used new symbol ❌ to show it breaks qbt plugin system. --- sh/curlqb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh') 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} #' -- cgit v1.2.3-70-g09d2