From 6c434c4b82eff52588ce517ca4e384ab6438a8b1 Mon Sep 17 00:00:00 2001 From: coolnsx Date: Mon, 5 May 2025 15:54:18 +0530 Subject: [PATCH] I was told to leave it alone, but I have this thing called OCD, you see --- yt-music | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yt-music b/yt-music index e1dbd24..b005332 100755 --- a/yt-music +++ b/yt-music @@ -277,9 +277,11 @@ base_url="https://music.youtube.com" cookie="$logdir/cookies" # user agents, used by script -random_no=$(head /dev/urandom | tr -dc '1-5' | cut -c1) +random_no=$(head /dev/urandom | tr -dc '4-7' | cut -c1) # web agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/13$random_no.0.0.0 Safari/537.36" +# random number for android +random_no=$(head /dev/urandom | tr -dc '1-5' | cut -c1) # android extra_up=$((random_no > 1)) # youtube