C
C#2mo ago
CrownedHaley

403 Forbidden

Hello! I am trying to hit an endpoint on Crunchyroll so I can get my auth token. I have looked at various sources and cannot get past the 403 error. I've never used the application/x-www-form-urlencoded content type before so I am unsure if I need to encode it. Format:
POST /auth/v1/token

# Request Headers
Authorization: Basic eHVuaWh2ZWRidDNtYmlzdWhldnQ6MWtJUzVkeVR2akUwX3JxYUEzWWVBaDBiVVhVbXhXMTE=
ETP-Anonymous-ID: ${ETP_ID}

# Request Body

"scope=offline_access&device_name=${deviceName}&device_id=${deviceId}&device_type=${deviceType}&grant_type=password&username=${email}&password=${password}"
POST /auth/v1/token

# Request Headers
Authorization: Basic eHVuaWh2ZWRidDNtYmlzdWhldnQ6MWtJUzVkeVR2akUwX3JxYUEzWWVBaDBiVVhVbXhXMTE=
ETP-Anonymous-ID: ${ETP_ID}

# Request Body

"scope=offline_access&device_name=${deviceName}&device_id=${deviceId}&device_type=${deviceType}&grant_type=password&username=${email}&password=${password}"
https://github.com/Crunchyroll-Plus/crunchyroll-docs/blob/release/Services/EtpAccountAuth/POST/signIn.md Example: https://github.com/crunchy-labs/crunchyroll-rs/blob/master/src/crunchyroll.rs line 436
GitHub
crunchyroll-docs/Services/EtpAccountAuth/POST/signIn.md at release ...
An attempt to document Crunchyroll's API. Contribute to Crunchyroll-Plus/crunchyroll-docs development by creating an account on GitHub.
GitHub
crunchyroll-rs/src/crunchyroll.rs at master · crunchy-labs/crunchyr...
🦀 Pure Rust implementation of the Crunchyroll API. Contribute to crunchy-labs/crunchyroll-rs development by creating an account on GitHub.
No description
1 Reply
ACiDCA7
ACiDCA72mo ago
i might be wrong but i cant think of a way not to breach TOS of crunchyroll.. especially recent CR.
Want results from more Discord servers?
Add your server