summaryrefslogtreecommitdiff
path: root/.local/bin/curlncm
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-09-07 17:36:36 -0700
committerxyz <gky44px1999@gmail.com>2021-09-07 17:36:36 -0700
commitd7a80e6f6c61f4ef11f33faf2cfe0b94a3ae1bf7 (patch)
tree7344e764f96f17fb4d83acf23ffd8a59564199c1 /.local/bin/curlncm
parented8cf0d51437a8ab819a3e9a84433a7b0c652c94 (diff)
upd, integrate ref2, updgall and others
Diffstat (limited to '.local/bin/curlncm')
-rwxr-xr-x.local/bin/curlncm2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/curlncm b/.local/bin/curlncm
index 484fe8c1..b8ddb168 100755
--- a/.local/bin/curlncm
+++ b/.local/bin/curlncm
@@ -83,5 +83,5 @@ curl -s -A "$user_agent" -d params="$encrypted_params" 'https://interface3.music
# using user_agent, content-type header, cookie header, referer are not necessary? but feels faster
# not sure about cookie header format for aria2c, this link shows that it's kinda messy, so I didn't use it
# https://github.com/aria2/aria2/issues/545#issuecomment-650070869
-echo "$data" | awk -F'\t' '{printf(" out=%s_%s.mp3\n",$2,$1)}' | paste "$dl_urls_tmp" - -d '\n' | aria2c -U "$user_agent" --header='Content-Type: application/x-www-form-urlencoded' --referer='https://music.163.com' -d "$download_dir" --auto-file-renaming=false -i-
+echo "$data" | awk -F'\t' '{printf(" out=%s_%s.mp3\n",$2,$1)}' | paste "$dl_urls_tmp" - -d '\n' | aria2c -U "$user_agent" --header='Content-Type: application/x-www-form-urlencoded' --referer='https://music.163.com' -d "$download_dir" --auto-file-renaming=false --console-log-level=warn -i-
rm "$dl_urls_tmp"