mirror of
https://github.com/Ahrimdon/detailed-cod-tracker.git
synced 2024-11-03 16:46:44 -05:00
13 lines
543 B
PowerShell
13 lines
543 B
PowerShell
|
# Set your default values here
|
||
|
$PROF = "Ahrimdon%231597" # The % replaces the # for the Activision ID (e.g. Ahrimdon%231597)
|
||
|
# You do not need numbers for PSN or XBL
|
||
|
# Delete $PROF when getting maps and game modes.
|
||
|
$COOKIE_VALUE = "ACCT_SSO_COOKIE"
|
||
|
|
||
|
$URL = "AddLinkHere"
|
||
|
$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"
|
||
|
$OUTPUT_FILE = "stats.json"
|
||
|
|
||
|
curl -v $URL -H "Cookie: ACT_SSO_COOKIE=$COOKIE_VALUE" -H "User-Agent: $USER_AGENT" -o $OUTPUT_FILE
|
||
|
|
||
|
# Replace
|