mirror of
https://github.com/Ahrimdon/detailed-cod-tracker.git
synced 2025-02-25 08:49:36 -05:00
maint(curl_userInfo.ps1): update curl command - must include cookies.txt file now
This commit is contained in:
parent
1d7424979b
commit
c3e0db32d8
@ -1,7 +1,6 @@
|
|||||||
$COOKIE_VALUE = ""
|
$COOKIE_VALUE = ""
|
||||||
|
|
||||||
$URL = "https://profile.callofduty.com/cod/userInfo/$COOKIE_VALUE"
|
$URL = "https://profile.callofduty.com/cod/userInfo/$COOKIE_VALUE"
|
||||||
$USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
|
$USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
|
||||||
$OUTPUT_FILE = "userInfo.json"
|
$OUTPUT_FILE = "userInfo.json"
|
||||||
|
|
||||||
curl -v $URL -H "Cookie: ACT_SSO_COOKIE=$COOKIE_VALUE" -H "User-Agent: $USER_AGENT" -o $OUTPUT_FILE
|
curl -v "$URL" -H "Cookie: ACT_SSO_COOKIE=$COOKIE_VALUE" -H "User-Agent: $USER_AGENT" -H "Accept: application/json, text/plain, */*" -H "Referer: https://profile.callofduty.com/" -H "Connection: keep-alive" -H "Accept-Language: en-US,en;q=0.9" --cookie-jar cookies.txt --cookie cookies.txt -o $OUTPUT_FILE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user