diff options
-rwxr-xr-x | sh/curlqb | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,9 +4,10 @@ # 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 +# yggtracker.py requires yggdrasil which I don't want to install curl -sS 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins' | awk -F'"' ' /user-content-plugins-for-private-sites/ {exit} -/\.py/ { +(/\.py/ && !/yggtracker/) { url=$2 getline getline @@ -19,7 +20,7 @@ curl -sS 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-p # an alternative awk command: #awk -F'"' ' #/require an account/ {exit} -#/\.py/ { +#(/\.py/ && !/yggtracker/) { # url=$2 # line=NR #} |