mirror of
https://github.com/CoolnsX/repos_scripts.git
synced 2025-12-20 07:15:20 +05:30
I was told to leave it alone, but I have this thing called OCD, you see
This commit is contained in:
4
yt-music
4
yt-music
@@ -277,9 +277,11 @@ base_url="https://music.youtube.com"
|
|||||||
cookie="$logdir/cookies"
|
cookie="$logdir/cookies"
|
||||||
|
|
||||||
# user agents, used by script
|
# 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
|
# 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"
|
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
|
# android
|
||||||
extra_up=$((random_no > 1))
|
extra_up=$((random_no > 1))
|
||||||
# youtube
|
# youtube
|
||||||
|
|||||||
Reference in New Issue
Block a user