diff --git a/clean_friend_feed_regex.txt b/clean_friendFeed_regex.txt similarity index 100% rename from clean_friend_feed_regex.txt rename to clean_friendFeed_regex.txt diff --git a/clean_userInfo_regex.txt b/clean_userInfo_regex.txt new file mode 100644 index 0000000..e08cb60 --- /dev/null +++ b/clean_userInfo_regex.txt @@ -0,0 +1 @@ +userInfo\(|\); \ No newline at end of file diff --git a/curl_userInfo.ps1 b/curl_userInfo.ps1 index 8d527c6..97d5b38 100644 --- a/curl_userInfo.ps1 +++ b/curl_userInfo.ps1 @@ -1,7 +1,7 @@ -$COOKIE_VALUE = "MTk1NjgyNzA6MTcwNDcwMjA5NDE3Mjo5MDg4N2NmYjY0NjBmN2ZiYmYyNDMxMGJiNzdjYWZiMQ" +$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" $OUTPUT_FILE = "userInfo.json" -curl -v $URL -H "Cookie: ACT_SSO_COOKIE=$COOKIE_VALUE" -H "Cookie: ACT_SSO_EVENT=LOGIN_SUCCESS:1703492494179" -H "Cookie: XSRF-TOKEN:x_Pb47Lt1r4KfX5wQrYAO5moyfPKKeDT0cZ99tMBHpLpTIlVRrwTYlyMRR1AKE--" -H "User-Agent: $USER_AGENT" -o $OUTPUT_FILE \ No newline at end of file +curl -v $URL -H "Cookie: ACT_SSO_COOKIE=$COOKIE_VALUE" -H "User-Agent: $USER_AGENT" -o $OUTPUT_FILE \ No newline at end of file