From e7a535dd8ad1b18289e2ab8168c7a5a73a647af1 Mon Sep 17 00:00:00 2001 From: xyz Date: Wed, 29 Sep 2021 21:27:24 -0700 Subject: refactor --- .local/bin/curlqb | 7 ------- 1 file changed, 7 deletions(-) (limited to '.local/bin/curlqb') diff --git a/.local/bin/curlqb b/.local/bin/curlqb index 67dc2f82..f98a41c8 100755 --- a/.local/bin/curlqb +++ b/.local/bin/curlqb @@ -1,12 +1,5 @@ #!/bin/sh -# how to not rewrite, maybe not? -# how to know if there's new? use rewrite? -# how to check if some script outdated? delete it? -# how qbittorrent auto update those scripts, maybe try the fork? -# how to make it a pure awk script? should I? -# can I replace awk $0 ~ /.../ with /.../ ? - curl -s 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins' | awk -F'"' '/Plugins for Private sites/{exit} /\.py/{url=$2;getline;getline;getline;if($0 !~ /❗|✖/)print url}' | xargs curl -s -Z -L --remote-name-all --create-dirs --output-dir "$1" -- #curl -s 'https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins' | awk -F'"' '{ -- cgit v1.2.3-70-g09d2