From d7a80e6f6c61f4ef11f33faf2cfe0b94a3ae1bf7 Mon Sep 17 00:00:00 2001 From: xyz Date: Tue, 7 Sep 2021 17:36:36 -0700 Subject: upd, integrate ref2, updgall and others --- .local/bin/curlncm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/curlncm') 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" -- cgit v1.2.3-70-g09d2