diff options
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 |