summaryrefslogtreecommitdiff
path: root/.local/bin/curlncm
diff options
context:
space:
mode:
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"