diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-06-16 18:54:25 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-06-16 18:54:25 -0700 |
commit | f679b4be41aa6fbf307936bf4cfdecef8d63cff4 (patch) | |
tree | b84628ff9a569fa52ba410c8f45c7182b7989abd /home/xyz/.local | |
parent | d2cd1a5e45273bfb8a5fa5ee942b17808c00b754 (diff) |
qbt wiki change
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-x | home/xyz/.local/bin/curlqb | 6 |
1 files changed, 5 insertions, 1 deletions
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 |