Skip to content

Commit

Permalink
Update login authorization string
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Apr 11, 2024
1 parent eb75100 commit b688d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crunchyroll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ mod auth {
body.extend_from_slice(&[("device_type", d_type)])
}
let resp = client.post(endpoint)
.header(header::AUTHORIZATION, "Basic b2VkYXJteHN0bGgxanZhd2ltbnE6OWxFaHZIWkpEMzJqdVY1ZFc5Vk9TNTdkb3BkSnBnbzE=")
.header(header::AUTHORIZATION, "Basic bm12anNoZmtueW14eGtnN2ZiaDk6WllJVnJCV1VQYmNYRHRiRDIyVlNMYTZiNFdRb3Mzelg=")
.header(header::CONTENT_TYPE, "application/x-www-form-urlencoded")
.body(serde_urlencoded::to_string(body).unwrap())
.send()
Expand Down Expand Up @@ -434,7 +434,7 @@ mod auth {
body.extend_from_slice(&[("device_type", d_type)])
}
let resp = client.post(endpoint)
.header(header::AUTHORIZATION, "Basic b2VkYXJteHN0bGgxanZhd2ltbnE6OWxFaHZIWkpEMzJqdVY1ZFc5Vk9TNTdkb3BkSnBnbzE=")
.header(header::AUTHORIZATION, "Basic bm12anNoZmtueW14eGtnN2ZiaDk6WllJVnJCV1VQYmNYRHRiRDIyVlNMYTZiNFdRb3Mzelg=")
.header(header::CONTENT_TYPE, "application/x-www-form-urlencoded")
.body(serde_urlencoded::to_string(body).unwrap())
.send()
Expand Down

0 comments on commit b688d14

Please sign in to comment.