summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-09-20 17:47:52 -0700
committerxyz <gky44px1999@gmail.com>2021-09-20 17:47:52 -0700
commite0d28d66c41773b7310da0c76cefa55264be0a3a (patch)
tree80e4e2d87a4a60d34be668315a56ce5ac115d2e9
parent5767ab6eda16babdc92fe79307f5b1922166b4b5 (diff)
curlncm, use mktemp
-rwxr-xr-x.local/bin/curlncm2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/curlncm b/.local/bin/curlncm
index 602f3734..2a096c6c 100755
--- a/.local/bin/curlncm
+++ b/.local/bin/curlncm
@@ -12,7 +12,7 @@
# trial and error to get dj_max, don't know why, maybe because it is 2^31 and it is the size limit of whatever type of the variable
dj_max=2147483647
-dl_urls_tmp='/tmp/curlncm_dl_urls'
+dl_urls_tmp="$(mktemp)"
# printf 'e82ckenh8dichen8' | hexdump -ve '/1 "%02x"'
key='653832636b656e683864696368656e38'
url='/api/song/enhance/player/url'