Update VRChatCurlOnline.sh
This commit is contained in:
parent
f470cea23d
commit
6a1732c979
|
|
@ -12,7 +12,7 @@ APIREQUEST=$(curl -X 'GET' \
|
||||||
"https://vrchat.com/api/1/auth/user/friends?offline=false&n=50&offset=0" \
|
"https://vrchat.com/api/1/auth/user/friends?offline=false&n=50&offset=0" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "Cookie: $VRCSECURITYCOOKIE" \
|
-H "Cookie: $VRCSECURITYCOOKIE" \
|
||||||
-H "User-Agent: ***")
|
-H "User-Agent: ???")
|
||||||
|
|
||||||
APICOUNT=$(($(echo $APIREQUEST | jq -r '. | length') - 1))
|
APICOUNT=$(($(echo $APIREQUEST | jq -r '. | length') - 1))
|
||||||
for friend in $CHECKONLINEFRIENDS; do
|
for friend in $CHECKONLINEFRIENDS; do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue