Open fabriciols opened 4 years ago
A few endpoints seem to have changed over time, this will need investigation before it can be solved.
since i posted it, i found the solution sniffing the app
The current implementation have two problems:
ACT_SSO_COOKIE
since i posted it, i found the solution sniffing the app
The current implementation have two problems:
- It is a POST, not a GET
- You need to send an extra header: "atvi-auth" with the
ACT_SSO_COOKIE
Sooooo, and what we should do?
Summary
When i try to use the function RemoveFriend on a friend from my friend list, it returns:
callofduty.errors.HTTPException: HTTP 200 - Not permitted: not authenticated
I dont think this is a library problem... maybe this endpoint doesn't work anymore?
Reproduction Steps
Add this piece of code on the test.py, to try to remove the first friend of user list
Expected Results
A friend removed without an error
Actual Results
Checklist
System Information
Python 3.8.2 (default, Jul 16 2020, 14:00:26) callofduty.py version = "1.2.1"