diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/curlncm | 4 |
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 |