summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-09-02 11:50:27 -0700
committerxyz <gky44px1999@gmail.com>2021-09-02 11:50:27 -0700
commite495dda3c3a57a5e6b3dbb5f0f0103f7e0288716 (patch)
tree1217d0c04e27d15cee961c298d030014f87a5303
parente68784128a334bb3701a49e23061b919b8c4c931 (diff)
curlncm, date use nano second
-rwxr-xr-x.local/bin/curlncm4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/curlncm b/.local/bin/curlncm
index 0cd01933..faaf7018 100755
--- a/.local/bin/curlncm
+++ b/.local/bin/curlncm
@@ -8,10 +8,10 @@
key='653832636b656e683864696368656e38'
url='/api/song/enhance/player/url'
-request_id=$(date +'%s000')_$(seq -w 1 1000 | shuf -n1)
+request_id=$(date +'%s%3N')_$(seq -w 1 1000 | shuf -n1)
user_agent='User-Agent: Mozilla/5.0 (Linux; U; Android 9; zh-cn; Redmi Note 8 Build/PKQ1.190616.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/71.0.3578.141 Mobile Safari/537.36 XiaoMi/MiuiBrowser/12.5.22'
-# need to improve to let a i r mutually exclusive
+# need to improve to let a i r mutually exclusive? or find a way to chain their song ids and names
# artist, song, djradio id
while getopts a:i:n:r: opt; do
case $opt in