increased loading time by a bit

This commit is contained in:
Coolnsx
2023-12-03 17:44:59 +05:30
parent 6fe05cb026
commit 8bff130519
3 changed files with 4 additions and 4 deletions

View File

@@ -244,6 +244,8 @@ search_play() {
#storing context
printf '{"client":{"clientName":"WEB_REMIX","clientVersion":"1.20231010.05.00"}}' >"$logdir/context"
#extracting your cookies so that the song list are according to your taste
get_cookies
if ! (printf '%s' "$query" | grep -q 'https:' || printf '%s' "$query" | grep -q 'ID:'); then
#json for song search
@@ -261,8 +263,6 @@ search_play() {
fi
#extracting your cookies so that the song list are according to your taste
get_cookies
printf '' >"$logdir/next"
printf "%s\n" "$res" >>"$logdir/next"
printf "%s" "$res" | cut -f2 >"$logdir/start"