From f679b4be41aa6fbf307936bf4cfdecef8d63cff4 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 16 Jun 2023 18:54:25 -0700 Subject: qbt wiki change --- home/xyz/.local/bin/curlqb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'home/xyz/.local/bin') diff --git a/home/xyz/.local/bin/curlqb b/home/xyz/.local/bin/curlqb index d40ff6d1..d2851cd9 100755 --- a/home/xyz/.local/bin/curlqb +++ b/home/xyz/.local/bin/curlqb @@ -1,7 +1,11 @@ #!/bin/sh +# need --no-clobber if don't want overwrite when same name +# 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 curl -s 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins' | awk -F'"' ' -/require an account/ {exit} +/user-content-plugins-for-private-sites/ {exit} /\.py/ { url=$2 getline -- cgit v1.2.3-70-g09d2