mirror of
https://github.com/CoolnsX/repos_scripts.git
synced 2025-12-20 07:15:20 +05:30
increased loading time by a bit
This commit is contained in:
4
yt-music
4
yt-music
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user