crunchy-labs / crunchyroll-rs Goto Github PK
View Code? Open in Web Editor NEW๐ฆ Pure Rust implementation of the Crunchyroll API
License: Apache License 2.0
๐ฆ Pure Rust implementation of the Crunchyroll API
License: Apache License 2.0
Hey there!
I've been getting this error message today:
Failed to get crunchyroll account information: Decode { message: "expected value at line 1 column 1 at 1:1", content: [60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, 109, 108, 62, 10, 60, 104, 116, 109, 108, 62, 10, 10, 60, 104, 101, 97, 100, 62, 10, 32, 32, 60, 116, 105, 116, 108, 101, 62, 67, 114, 117, 110, 99, 104, 121, 114, 111, 108, 108, 32, 45, 32, 79, 118, 101, 114, 108, 111, 97, 100, 101, 100, 60, 47, 116, 105, 116, 108, 101, 62, 10, 32, 32, 60, 109, 101, 116, 97, 32, 110, 97, 109, 101, 61, 34, 118, 105, 101, 119, 112, 111, 114, 116, 34, 32, 99, 111, 110, 116, 101, 110, 116, 61, 34, 119, 105, 100, 116, 104, 61, 100, 101, 118, 105, 99, 101, 45, 119, 105, 100, 116, 104, 34, 62, 10, 32, 32, 60, 109, 101, 116, 97, 32, 110, 97, 109, 101, 61, 34, 118, 105, 101, 119, 112, 111, 114, 116, 34, 32, 99, 111, 110, 116, 101, 110, 116, 61, 34, 119, 105, 100, 116, 104, 61, 100, 101, 118, 105, 99, 101, 45, 119, 105, 100, 116, 104, 44, 32, 105, 110, 105, 116, 105, 97, 108, 45, 115, 99, 97, 108, 101, 61, 49, 44, 32, 109, 97, 120, 105, 109, 117, 109, 45, 115, 99, 97, 108, 101, 61, 49, 46, 48, 44, 32, 117, 115, 101, 114, 45, 115, 99, 97, 108, 97, 98, 108, 101, 61, 48, 34, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 116, 121, 112, 101, 61, 34, 105, 109, 97, 103, 101, 47, 112, 110, 103, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 102, 97, 118, 105, 99, 111, 110, 45, 49, 54, 120, 49, 54, 46, 112, 110, 103, 34, 32, 115, 105, 122, 101, 115, 61, 34, 49, 54, 120, 49, 54, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 116, 121, 112, 101, 61, 34, 105, 109, 97, 103, 101, 47, 112, 110, 103, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 102, 97, 118, 105, 99, 111, 110, 45, 51, 50, 120, 51, 50, 46, 112, 110, 103, 34, 32, 115, 105, 122, 101, 115, 61, 34, 51, 50, 120, 51, 50, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 116, 121, 112, 101, 61, 34, 105, 109, 97, 103, 101, 47, 112, 110, 103, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 102, 97, 118, 105, 99, 111, 110, 45, 57, 54, 120, 57, 54, 46, 112, 110, 103, 34, 32, 115, 105, 122, 101, 115, 61, 34, 57, 54, 120, 57, 54, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 115, 105, 122, 101, 115, 61, 34, 53, 55, 120, 53, 55, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 97, 112, 112, 108, 101, 45, 116, 111, 117, 99, 104, 45, 105, 99, 111, 110, 45, 53, 55, 120, 53, 55, 46, 112, 110, 103, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 115, 105, 122, 101, 115, 61, 34, 54, 48, 120, 54, 48, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 97, 112, 112, 108, 101, 45, 116, 111, 117, 99, 104, 45, 105, 99, 111, 110, 45, 54, 48, 120, 54, 48, 46, 112, 110, 103, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 115, 105, 122, 101, 115, 61, 34, 55, 50, 120, 55, 50, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 97, 112, 112, 108, 101, 45, 116, 111, 117, 99, 104, 45, 105, 99, 111, 110, 45, 55, 50, 120, 55, 50, 46, 112, 110, 103, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 115, 105, 122, 101, 115, 61, 34, 55, 54, 120, 55, 54, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 97, 112, 112, 108, 101, 45, 116, 111, 117, 99, 104, 45, 105, 99, 111, 110, 45, 55, 54, 120, 55, 54, 46, 112, 110, 103, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 115, 105, 122, 101, 115, 61, 34, 49, 49, 52, 120, 49, 49, 52, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 97, 112, 112, 108, 101, 45, 116, 111, 117, 99, 104, 45, 105, 99, 111, 110, 45, 49, 49, 52, 120, 49, 49, 52, 46, 112, 110, 103, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 115, 105, 122, 101, 115, 61, 34, 49, 50, 48, 120, 49, 50, 48, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 97, 112, 112, 108, 101, 45, 116, 111, 117, 99, 104, 45, 105, 99, 111, 110, 45, 49, 50, 48, 120, 49, 50, 48, 46, 112, 110, 103, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 115, 105, 122, 101, 115, 61, 34, 49, 52, 52, 120, 49, 52, 52, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 97, 112, 112, 108, 101, 45, 116, 111, 117, 99, 104, 45, 105, 99, 111, 110, 45, 49, 52, 52, 120, 49, 52, 52, 46, 112, 110, 103, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 115, 105, 122, 101, 115, 61, 34, 49, 53, 50, 120, 49, 53, 50, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 97, 112, 112, 108, 101, 45, 116, 111, 117, 99, 104, 45, 105, 99, 111, 110, 45, 49, 53, 50, 120, 49, 53, 50, 46, 112, 110, 103, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 105, 99, 111, 110, 34, 32, 115, 105, 122, 101, 115, 61, 34, 49, 56, 48, 120, 49, 56, 48, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 97, 115, 115, 101, 116, 115, 47, 105, 109, 103, 47, 102, 97, 118, 105, 99, 111, 110, 115, 47, 97, 112, 112, 108, 101, 45, 116, 111, 117, 99, 104, 45, 105, 99, 111, 110, 45, 49, 56, 48, 120, 49, 56, 48, 46, 112, 110, 103, 34, 32, 47, 62, 10, 32, 32, 60, 108, 105, 110, 107, 32, 114, 101, 108, 61, 34, 115, 116, 121, 108, 101, 115, 104, 101, 101, 116, 34, 32, 104, 114, 101, 102, 61, 34, 47, 99, 120, 119, 101, 98, 47, 101, 114, 114, 111, 114, 47, 53, 88, 88, 47, 115, 116, 121, 108, 101, 46, 99, 115, 115, 34, 62, 10, 60, 47, 104, 101, 97, 100, 62, 10, 10, 60, 98, 111, 100, 121, 62, 10, 32, 32, 60, 104, 101, 97, 100, 101, 114, 32, 99, 108, 97, 115, 115, 61, 34, 104, 101, 97, 100, 101, 114, 34, 62, 10, 32, 32, 32, 32, 60, 97, 32, 104, 114, 101, 102, 61, 34, 47, 34, 62, 10, 32, 32, 32, 32, 32, 32, 60, 115, 118, 103, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119, 51, 46, 111, 114, 103, 47, 50, 48, 48, 48, 47, 115, 118, 103, 34, 32, 118, 105, 101, 119, 66, 111, 120, 61, 34, 48, 32, 48, 32, 49, 51, 54, 32, 50, 52, 34, 62, 10, 32, 32, 32, 32, 32, 32, 32, 32, 60, 112, 97, 116, 104, 32, 102, 105, 108, 108, 45, 114, 117, 108, 101, 61, 34, 101, 118, 101, 110, 111, 100, 100, 34, 10, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 100, 61, 34, 77, 54, 54, 46, 51, 57, 55, 32, 54, 46, 56, 56, 55, 99, 45, 50, 46, 55, 55, 53, 32, 48, 45, 53, 46, 48, 54, 55, 46, 50, 53, 45, 53, 46, 48, 54, 55, 32, 50, 46, 49, 50, 52, 118, 57, 46, 51, 49, 55, 104, 50, 46, 54, 50, 86, 57, 46, 56, 55, 51, 99, 48, 45, 46, 52, 56, 32, 49, 46, 51, 53, 53, 45, 46, 53, 55, 55, 32, 50, 46, 48, 57, 55, 45, 46, 53, 55, 55, 32, 50, 46, 51, 56, 51, 32, 48, 32, 50, 46, 51, 51, 54, 32, 49, 46, 48, 52, 53, 32, 50, 46, 51, 51, 54, 32, 50, 46, 48, 51, 55, 118, 54, 46, 57, 57, 53, 104, 50, 46, 54, 48, 50, 118, 45, 55, 46, 48, 53, 51, 99, 48, 45, 51, 46, 49, 51, 52, 45, 49, 46, 53, 53, 50, 45, 52, 46, 51, 56, 56, 45, 52, 46, 53, 56, 56, 45, 52, 46, 51, 56, 56, 122, 109, 54, 54, 46, 55, 53, 55, 32, 49, 49, 46, 52, 52, 57, 104, 50, 46, 54, 56, 86, 50, 46, 55, 56, 54, 104, 45, 50, 46, 54, 56, 118, 49, 53, 46, 53, 53, 122, 109, 45, 53, 46, 56, 48, 56, 32, 48, 104, 50, 46, 54, 56, 50, 86, 50, 46, 55, 56, 54, 104, 45, 50, 46, 54, 56, 50, 118, 49, 53, 46, 53, 53, 122, 109, 45, 55, 46, 53, 56, 57, 45, 50, 46, 48, 49, 56, 99, 45, 49, 46, 53, 57, 52, 32, 48, 45, 50, 46, 54, 48, 51, 45, 46, 53, 57, 45, 50, 46, 54, 48, 51, 45, 51, 46, 53, 55, 57, 32, 48, 45, 50, 46, 57, 57, 32, 49, 46, 48, 48, 57, 45, 51, 46, 53, 56, 32, 50, 46, 54, 48, 51, 45, 51, 46, 53, 56, 32, 49, 46, 53, 57, 32, 48, 32, 50, 46, 54, 48, 49, 46, 53, 57, 32, 50, 46, 54, 48, 49, 32, 51, 46, 53, 56, 115, 45, 49, 46, 48, 49, 32, 51, 46, 53, 55, 57, 45, 50, 46, 54, 32, 51, 46, 53, 55, 57, 122, 109, 48, 45, 57, 46, 52, 48, 49, 99, 45, 51, 46, 52, 49, 32, 48, 45, 53, 46, 50, 57, 50, 32, 50, 46, 48, 54, 45, 53, 46, 50, 57, 50, 32, 53, 46, 56, 50, 50, 115, 49, 46, 56, 56, 50, 32, 53, 46, 56, 50, 50, 32, 53, 46, 50, 57, 50, 32, 53, 46, 56, 50, 50, 99, 51, 46, 52, 48, 54, 32, 48, 32, 53, 46, 50, 57, 45, 50, 46, 48, 54, 32, 53, 46, 50, 57, 45, 53, 46, 56, 50, 50, 32, 48, 45, 51, 46, 55, 54, 49, 45, 49, 46, 56, 56, 52, 45, 53, 46, 56, 50, 50, 45, 53, 46, 50, 57, 45, 53, 46, 56, 50, 50, 122, 77, 49, 48, 55, 46, 53, 50, 32, 56, 46, 51, 52, 118, 57, 46, 57, 57, 53, 104, 50, 46, 54, 56, 52, 86, 57, 46, 57, 48, 51, 99, 48, 45, 46, 54, 54, 32, 49, 46, 54, 52, 54, 45, 46, 54, 52, 32, 51, 46, 49, 52, 49, 45, 46, 54, 54, 51, 86, 54, 46, 56, 57, 52, 115, 45, 53, 46, 56, 50, 53, 45, 46, 50, 52, 51, 45, 53, 46, 56, 50, 53, 32, 49, 46, 52, 52, 55, 122, 109, 45, 55, 46, 49, 52, 51, 32, 54, 46, 53, 56, 55, 108, 45, 50, 46, 53, 48, 51, 45, 55, 46, 56, 53, 52, 104, 45, 50, 46, 56, 51, 52, 108, 51, 46, 57, 57, 52, 32, 49, 48, 46, 54, 55, 52, 99, 45, 46, 49, 52, 46, 51, 57, 56, 32, 48, 32, 46, 48, 48, 51, 45, 50, 46, 48, 51, 52, 32, 53, 46, 48, 51, 54, 108, 50, 46, 56, 48, 50, 46, 48, 48, 50, 32, 49, 46, 54, 50, 51, 45, 52, 46, 49, 56, 32, 52, 46, 50, 52, 52, 45, 49, 49, 46, 53, 51, 50, 104, 45, 50, 46, 56, 51, 54, 108, 45, 50, 46, 52, 53, 54, 32, 55, 46, 56, 53, 52, 122, 109, 45, 49, 49, 46, 55, 57, 45, 56, 46, 48, 51, 52, 99, 45, 46, 56, 55, 49, 32, 48, 45, 49, 46, 54, 49, 46, 49, 51, 53, 45, 50, 46, 50, 51, 52, 46, 51, 56, 51, 86, 50, 46, 55, 56, 54, 104, 45, 50, 46, 54, 55, 57, 118, 49, 53, 46, 53, 53, 104, 50, 46, 54, 55, 57, 86, 57, 46, 54, 50, 52, 99, 46, 52, 52, 54, 45, 46, 50, 48, 51, 32, 49, 46, 48, 53, 45, 46, 51, 51, 57, 32, 49, 46, 55, 56, 53, 45, 46, 51, 51, 57, 32, 50, 46, 53, 48, 50, 32, 48, 32, 50, 46, 55, 50, 54, 32, 49, 46, 48, 54, 32, 50, 46, 55, 50, 54, 32, 50, 46, 48, 53, 53, 118, 54, 46, 57, 57, 54, 104, 50, 46, 54, 53, 56, 118, 45, 54, 46, 55, 55, 49, 99, 48, 45, 50, 46, 57, 51, 52, 45, 49, 46, 56, 51, 50, 45, 52, 46, 54, 55, 49, 45, 52, 46, 57, 51, 52, 45, 52, 46, 54, 55, 49, 122, 109, 45, 55, 46, 51, 50, 51, 32, 56, 46, 55, 55, 56, 99, 45, 46, 56, 51, 46, 51, 52, 45, 49, 46, 55, 53, 46, 53, 54, 54, 45, 50, 46, 55, 56, 52, 46, 53, 54, 54, 45, 49, 46, 56, 56, 51, 32, 48, 45, 51, 46, 48, 53, 50, 45, 46, 53, 57, 45, 51, 46, 48, 53, 50, 45, 51, 46, 52, 57, 51, 32, 48, 45, 50, 46, 57, 50, 53, 32, 49, 46, 49, 54, 57, 45, 51, 46, 52, 57, 50, 32, 51, 46, 48, 53, 50, 45, 51, 46, 52, 57, 50, 32, 49, 46, 48, 51, 52, 32, 48, 32, 49, 46, 57, 53, 51, 46, 50, 48, 52, 32, 50, 46, 55, 56, 52, 46, 53, 52, 51, 86, 55, 46, 53, 50, 56, 97, 56, 46, 54, 51, 57, 32, 56, 46, 54, 51, 57, 32, 48, 32, 48, 32, 48, 45, 51, 46, 50, 51, 51, 45, 46, 54, 51, 52, 99, 45, 51, 46, 52, 49, 32, 48, 45, 53, 46, 50, 57, 57, 32, 50, 46, 48, 56, 55, 45, 53, 46, 50, 57, 57, 32, 53, 46, 56, 53, 32, 48, 32, 51, 46, 55, 54, 55, 32, 49, 46, 56, 57, 32, 53, 46, 56, 51, 49, 32, 53, 46, 50, 57, 57, 32, 53, 46, 56, 51, 49, 32, 49, 46, 49, 57, 50, 32, 48, 32, 50, 46, 50, 55, 45, 46, 50, 53, 50, 32, 51, 46, 50, 51, 51, 45, 46, 54, 51, 54, 118, 45, 50, 46, 50, 54, 55, 122, 109, 45, 50, 53, 46, 48, 53, 45, 50, 46, 48, 52, 57, 99, 48, 32, 49, 46, 56, 49, 50, 45, 46, 54, 53, 54, 32, 50, 46, 52, 51, 49, 45, 50, 46, 50, 56, 57, 32, 50, 46, 52, 51, 49, 45, 49, 46, 54, 49, 51, 32, 48, 45, 50, 46, 50, 54, 56, 45, 46, 54, 49, 57, 45, 50, 46, 50, 54, 56, 45, 50, 46, 52, 51, 118, 45, 54, 46, 53, 53, 104, 45, 50, 46, 54, 51, 56, 118, 54, 46, 49, 56, 53, 99, 48, 32, 51, 46, 51, 51, 32, 49, 46, 48, 55, 32, 53, 46, 51, 48, 50, 32, 52, 46, 57, 48, 54, 32, 53, 46, 51, 48, 50, 32, 51, 46, 56, 50, 54, 32, 48, 32, 52, 46, 57, 50, 56, 45, 49, 46, 57, 55, 49, 32, 52, 46, 57, 50, 56, 45, 53, 46, 51, 48, 50, 86, 55, 46, 48, 55, 52, 104, 45, 50, 46, 54, 52, 118, 54, 46, 53, 53, 122, 77, 52, 51, 46, 56, 51, 49, 32, 57, 46, 57, 49, 99, 48, 45, 46, 54, 54, 55, 32, 49, 46, 54, 51, 50, 45, 46, 54, 52, 54, 32, 51, 46, 49, 50, 55, 45, 46, 54, 55, 86, 54, 46, 56, 57, 52, 115, 45, 53, 46, 56, 48, 55, 45, 46, 50, 51, 55, 45, 53, 46, 56, 48, 55, 32, 49, 46, 52, 52, 55, 118, 57, 46, 57, 57, 53, 104, 50, 46, 54, 56, 86, 57, 46, 57, 49, 122, 77, 51, 48, 32, 49, 50, 46, 55, 51, 57, 99, 48, 45, 51, 46, 55, 54, 49, 32, 49, 46, 56, 56, 50, 45, 53, 46, 56, 52, 53, 32, 53, 46, 50, 57, 51, 45, 53, 46, 56, 52, 53, 32, 49, 46, 49, 56, 56, 32, 48, 32, 50, 46, 50, 54, 53, 46, 50, 52, 57, 32, 51, 46, 50, 51, 46, 54, 51, 52, 118, 50, 46, 50, 54, 53, 97, 55, 46, 50, 54, 53, 32, 55, 46, 50, 54, 53, 32, 48, 32, 48, 32, 48, 45, 50, 46, 55, 56, 45, 46, 53, 52, 50, 99, 45, 49, 46, 56, 56, 53, 32, 48, 45, 51, 46, 48, 53, 46, 53, 54, 54, 45, 51, 46, 48, 53, 32, 51, 46, 52, 56, 56, 32, 48, 32, 50, 46, 57, 32, 49, 46, 49, 54, 53, 32, 51, 46, 52, 57, 32, 51, 46, 48, 53, 32, 51, 46, 52, 57, 32, 49, 46, 48, 50, 57, 32, 48, 32, 49, 46, 57, 52, 57, 45, 46, 50, 50, 54, 32, 50, 46, 55, 56, 45, 46, 53, 54, 53, 118, 50, 46, 50, 54, 53, 97, 56, 46, 54, 54, 49, 32, 56, 46, 54, 54, 49, 32, 48, 32, 48, 32, 49, 45, 51, 46, 50, 51, 46, 54, 51, 52, 99, 45, 51, 46, 52, 49, 32, 48, 45, 53, 46, 50, 57, 51, 45, 50, 46, 48, 54, 45, 53, 46, 50, 57, 51, 45, 53, 46, 56, 50, 52, 122, 109, 45, 49, 48, 46, 56, 55, 53, 32, 49, 46, 49, 55, 53, 97, 51, 46, 56, 32, 51, 46, 56, 32, 48, 32, 48, 32, 48, 32, 51, 46, 48, 51, 57, 45, 49, 46, 53, 49, 54, 32, 56, 46, 51, 53, 55, 32, 56, 46, 51, 53, 55, 32, 48, 32, 48, 32, 49, 45, 56, 46, 50, 49, 55, 32, 57, 46, 56, 56, 57, 32, 56, 46, 51, 53, 55, 32, 56, 46, 51, 53, 55, 32, 48, 32, 48, 32, 49, 45, 56, 46, 51, 53, 55, 45, 56, 46, 51, 53, 56, 32, 56, 46, 51, 53, 55, 32, 56, 46, 51, 53, 55, 32, 48, 32, 48, 32, 49, 32, 49, 50, 46, 50, 52, 51, 45, 55, 46, 52, 32, 51, 46, 56, 48, 54, 32, 51, 46, 56, 48, 54, 32, 48, 32, 48, 32, 48, 32, 49, 46, 50, 57, 50, 32, 55, 46, 51, 56, 53, 122, 77, 49, 49, 46, 56, 57, 50, 32, 48, 99, 54, 46, 53, 54, 57, 32, 48, 32, 49, 49, 46, 56, 57, 51, 32, 53, 46, 51, 50, 53, 32, 49, 49, 46, 56, 57, 51, 32, 49, 49, 46, 56, 57, 50, 32, 48, 32, 46, 50, 51, 54, 45, 46, 48, 48, 55, 46, 52, 54, 57, 45, 46, 48, 50, 46, 55, 45, 46, 51, 55, 54, 45, 53, 46, 52, 51, 45, 52, 46, 57, 45, 57, 46, 55, 50, 45, 49, 48, 46, 52, 50, 55, 45, 57, 46, 55, 50, 45, 53, 46, 55, 55, 51, 32, 48, 45, 49, 48, 46, 52, 53, 52, 32, 52, 46, 54, 56, 45, 49, 48, 46, 52, 53, 52, 32, 49, 48, 46, 52, 53, 51, 32, 48, 32, 53, 46, 53, 54, 32, 52, 46, 51, 52, 32, 49, 48, 46, 49, 48, 51, 32, 57, 46, 56, 49, 55, 32, 49, 48, 46, 52, 51, 51, 45, 46, 50, 54, 55, 46, 48, 49, 56, 45, 46, 53, 51, 54, 46, 48, 50, 55, 45, 46, 56, 48, 57, 46, 48, 50, 55, 67, 53, 46, 51, 50, 53, 32, 50, 51, 46, 55, 56, 53, 32, 48, 32, 49, 56, 46, 52, 54, 49, 32, 48, 32, 49, 49, 46, 56, 57, 50, 32, 48, 32, 53, 46, 51, 50, 53, 32, 53, 46, 51, 50, 53, 32, 48, 32, 49, 49, 46, 56, 57, 50, 32, 48, 122, 34, 32, 47, 62, 10, 32, 32, 32, 32, 32, 32, 60, 47, 115, 118, 103, 62, 10, 32, 32, 32, 32, 60, 47, 97, 62, 10, 32, 32, 60, 47, 104, 101, 97, 100, 101, 114, 62, 10, 32, 32, 60, 109, 97, 105, 110, 62, 10, 32, 32, 32, 32, 60, 100, 105, 118, 32, 99, 108, 97, 115, 115, 61, 34, 99, 111, 110, 116, 101, 110, 116, 45, 119, 114, 97, 112, 112, 101, 114, 34, 62, 10, 32, 32, 32, 32, 32, 32, 60, 100, 105, 118, 32, 99, 108, 97, 115, 115, 61, 34, 99, 111, 110, 116, 101, 110, 116, 34, 62, 10, 32, 32, 32, 32, 32, 32, 32, 32, 60, 105, 109, 103, 32, 99, 108, 97, 115, 115, 61, 34, 97, 114, 116, 119, 111, 114, 107, 34, 32, 115, 114, 99, 61, 34, 47, 99, 120, 119, 101, 98, 47, 101, 114, 114, 111, 114, 47, 53, 88, 88, 47, 121, 117, 122, 117, 45, 119, 105, 114, 101, 115, 46, 112, 110, 103, 34, 32, 97, 108, 116, 61, 34, 89, 117, 122, 117, 34, 62, 10, 32, 32, 32, 32, 32, 32, 32, 32, 60, 100, 105, 118, 32, 99, 108, 97, 115, 115, 61, 34, 99, 111, 110, 116, 101, 110, 116, 45, 116, 101, 120, 116, 34, 62, 10, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 60, 104, 50, 32, 99, 108, 97, 115, 115, 61, 34, 116, 105, 116, 108, 101, 34, 62, 53, 48, 48, 32, 45, 32, 73, 110, 116, 101, 114, 110, 97, 108, 32, 83, 101, 114, 118, 101, 114, 32, 69, 114, 114, 111, 114, 60, 47, 104, 50, 62, 10, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 60, 112, 32, 99, 108, 97, 115, 115, 61, 34, 115, 117, 98, 116, 105, 116, 108, 101, 34, 62, 79, 111, 112, 115, 33, 32, 89, 117, 122, 117, 39, 115, 32, 98, 101, 101, 110, 32, 110, 105, 98, 98, 108, 105, 110, 103, 32, 111, 110, 32, 116, 104, 101, 32, 119, 105, 114, 101, 115, 32, 97, 103, 97, 105, 110, 46, 60, 47, 112, 62, 10, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 60, 97, 32, 104, 114, 101, 102, 61, 34, 47, 34, 32, 99, 108, 97, 115, 115, 61, 34, 98, 117, 116, 116, 111, 110, 34, 62, 84, 97, 107, 101, 32, 109, 101, 32, 72, 111, 109, 101, 60, 47, 97, 62, 10, 32, 32, 32, 32, 32, 32, 32, 32, 60, 47, 100, 105, 118, 62, 10, 32, 32, 32, 32, 32, 32, 60, 47, 100, 105, 118, 62, 10, 32, 32, 32, 32, 60, 47, 100, 105, 118, 62, 10, 32, 32, 60, 47, 109, 97, 105, 110, 62, 10, 32, 32, 60, 102, 111, 111, 116, 101, 114, 32, 99, 108, 97, 115, 115, 61, 34, 102, 111, 111, 116, 101, 114, 34, 62, 10, 32, 32, 32, 32, 60, 100, 105, 118, 32, 99, 108, 97, 115, 115, 61, 34, 99, 111, 110, 116, 101, 110, 116, 45, 119, 114, 97, 112, 112, 101, 114, 34, 62, 10, 32, 32, 32, 32, 32, 32, 60, 112, 62, 38, 99, 111, 112, 121, 59, 32, 67, 114, 117, 110, 99, 104, 121, 114, 111, 108, 108, 44, 32, 76, 76, 67, 60, 47, 112, 62, 10, 32, 32, 32, 32, 60, 47, 100, 105, 118, 62, 10, 32, 32, 60, 47, 102, 111, 111, 116, 101, 114, 62, 10, 60, 115, 99, 114, 105, 112, 116, 62, 40, 102, 117, 110, 99, 116, 105, 111, 110, 40, 41, 123, 105, 102, 32, 40, 33, 100, 111, 99, 117, 109, 101, 110, 116, 46, 98, 111, 100, 121, 41, 32, 114, 101, 116, 117, 114, 110, 59, 118, 97, 114, 32, 106, 115, 32, 61, 32, 34, 119, 105, 110, 100, 111, 119, 91, 39, 95, 95, 67, 70, 36, 99, 118, 36, 112, 97, 114, 97, 109, 115, 39, 93, 61, 123, 114, 58, 39, 56, 55, 99, 49, 52, 49, 100, 97, 53, 101, 97, 101, 55, 100, 102, 101, 39, 44, 116, 58, 39, 77, 84, 99, 120, 78, 68, 81, 120, 78, 68, 77, 120, 79, 67, 52, 120, 79, 84, 73, 119, 77, 68, 65, 61, 39, 125, 59, 95, 99, 112, 111, 61, 100, 111, 99, 117, 109, 101, 110, 116, 46, 99, 114, 101, 97, 116, 101, 69, 108, 101, 109, 101, 110, 116, 40, 39, 115, 99, 114, 105, 112, 116, 39, 41, 59, 95, 99, 112, 111, 46, 110, 111, 110, 99, 101, 61, 39, 39, 44, 95, 99, 112, 111, 46, 115, 114, 99, 61, 39, 47, 99, 100, 110, 45, 99, 103, 105, 47, 99, 104, 97, 108, 108, 101, 110, 103, 101, 45, 112, 108, 97, 116, 102, 111, 114, 109, 47, 115, 99, 114, 105, 112, 116, 115, 47, 106, 115, 100, 47, 109, 97, 105, 110, 46, 106, 115, 39, 44, 100, 111, 99, 117, 109, 101, 110, 116, 46, 103, 101, 116, 69, 108, 101, 109, 101, 110, 116, 115, 66, 121, 84, 97, 103, 78, 97, 109, 101, 40, 39, 104, 101, 97, 100, 39, 41, 91, 48, 93, 46, 97, 112, 112, 101, 110, 100, 67, 104, 105, 108, 100, 40, 95, 99, 112, 111, 41, 59, 34, 59, 118, 97, 114, 32, 95, 48, 120, 104, 32, 61, 32, 100, 111, 99, 117, 109, 101, 110, 116, 46, 99, 114, 101, 97, 116, 101, 69, 108, 101, 109, 101, 110, 116, 40, 39, 105, 102, 114, 97, 109, 101, 39, 41, 59, 95, 48, 120, 104, 46, 104, 101, 105, 103, 104, 116, 32, 61, 32, 49, 59, 95, 48, 120, 104, 46, 119, 105, 100, 116, 104, 32, 61, 32, 49, 59, 95, 48, 120, 104, 46, 115, 116, 121, 108, 101, 46, 112, 111, 115, 105, 116, 105, 111, 110, 32, 61, 32, 39, 97, 98, 115, 111, 108, 117, 116, 101, 39, 59, 95, 48, 120, 104, 46, 115, 116, 121, 108, 101, 46, 116, 111, 112, 32, 61, 32, 48, 59, 95, 48, 120, 104, 46, 115, 116, 121, 108, 101, 46, 108, 101, 102, 116, 32, 61, 32, 48, 59, 95, 48, 120, 104, 46, 115, 116, 121, 108, 101, 46, 98, 111, 114, 100, 101, 114, 32, 61, 32, 39, 110, 111, 110, 101, 39, 59, 95, 48, 120, 104, 46, 115, 116, 121, 108, 101, 46, 118, 105, 115, 105, 98, 105, 108, 105, 116, 121, 32, 61, 32, 39, 104, 105, 100, 100, 101, 110, 39, 59, 100, 111, 99, 117, 109, 101, 110, 116, 46, 98, 111, 100, 121, 46, 97, 112, 112, 101, 110, 100, 67, 104, 105, 108, 100, 40, 95, 48, 120, 104, 41, 59, 102, 117, 110, 99, 116, 105, 111, 110, 32, 104, 97, 110, 100, 108, 101, 114, 40, 41, 32, 123, 118, 97, 114, 32, 95, 48, 120, 105, 32, 61, 32, 95, 48, 120, 104, 46, 99, 111, 110, 116, 101, 110, 116, 68, 111, 99, 117, 109, 101, 110, 116, 32, 124, 124, 32, 95, 48, 120, 104, 46, 99, 111, 110, 116, 101, 110, 116, 87, 105, 110, 100, 111, 119, 46, 100, 111, 99, 117, 109, 101, 110, 116, 59, 105, 102, 32, 40, 95, 48, 120, 105, 41, 32, 123, 118, 97, 114, 32, 95, 48, 120, 106, 32, 61, 32, 95, 48, 120, 105, 46, 99, 114, 101, 97, 116, 101, 69, 108, 101, 109, 101, 110, 116, 40, 39, 115, 99, 114, 105, 112, 116, 39, 41, 59, 95, 48, 120, 106, 46, 105, 110, 110, 101, 114, 72, 84, 77, 76, 32, 61, 32, 106, 115, 59, 95, 48, 120, 105, 46, 103, 101, 116, 69, 108, 101, 109, 101, 110, 116, 115, 66, 121, 84, 97, 103, 78, 97, 109, 101, 40, 39, 104, 101, 97, 100, 39, 41, 91, 48, 93, 46, 97, 112, 112, 101, 110, 100, 67, 104, 105, 108, 100, 40, 95, 48, 120, 106, 41, 59, 125, 125, 105, 102, 32, 40, 100, 111, 99, 117, 109, 101, 110, 116, 46, 114, 101, 97, 100, 121, 83, 116, 97, 116, 101, 32, 33, 61, 61, 32, 39, 108, 111, 97, 100, 105, 110, 103, 39, 41, 32, 123, 104, 97, 110, 100, 108, 101, 114, 40, 41, 59, 125, 32, 101, 108, 115, 101, 32, 105, 102, 32, 40, 119, 105, 110, 100, 111, 119, 46, 97, 100, 100, 69, 118, 101, 110, 116, 76, 105, 115, 116, 101, 110, 101, 114, 41, 32, 123, 100, 111, 99, 117, 109, 101, 110, 116, 46, 97, 100, 100, 69, 118, 101, 110, 116, 76, 105, 115, 116, 101, 110, 101, 114, 40, 39, 68, 79, 77, 67, 111, 110, 116, 101, 110, 116, 76, 111, 97, 100, 101, 100, 39, 44, 32, 104, 97, 110, 100, 108, 101, 114, 41, 59, 125, 32, 101, 108, 115, 101, 32, 123, 118, 97, 114, 32, 112, 114, 101, 118, 32, 61, 32, 100, 111, 99, 117, 109, 101, 110, 116, 46, 111, 110, 114, 101, 97, 100, 121, 115, 116, 97, 116, 101, 99, 104, 97, 110, 103, 101, 32, 124, 124, 32, 102, 117, 110, 99, 116, 105, 111, 110, 32, 40, 41, 32, 123, 125, 59, 100, 111, 99, 117, 109, 101, 110, 116, 46, 111, 110, 114, 101, 97, 100, 121, 115, 116, 97, 116, 101, 99, 104, 97, 110, 103, 101, 32, 61, 32, 102, 117, 110, 99, 116, 105, 111, 110, 32, 40, 101, 41, 32, 123, 112, 114, 101, 118, 40, 101, 41, 59, 105, 102, 32, 40, 100, 111, 99, 117, 109, 101, 110, 116, 46, 114, 101, 97, 100, 121, 83, 116, 97, 116, 101, 32, 33, 61, 61, 32, 39, 108, 111, 97, 100, 105, 110, 103, 39, 41, 32, 123, 100, 111, 99, 117, 109, 101, 110, 116, 46, 111, 110, 114, 101, 97, 100, 121, 115, 116, 97, 116, 101, 99, 104, 97, 110, 103, 101, 32, 61, 32, 112, 114, 101, 118, 59, 104, 97, 110, 100, 108, 101, 114, 40, 41, 59, 125, 125, 59, 125, 125, 41, 40, 41, 59, 60, 47, 115, 99, 114, 105, 112, 116, 62, 60, 47, 98, 111, 100, 121, 62, 10, 10, 60, 47, 104, 116, 109, 108, 62, 10], url: "https://www.crunchyroll.com/accounts/v1/me/notification_settings" }
If we convert the byte array into a string, it seems to be a HTML giving a 500 error.
It seems that profiles has been activated in my account, but I don't really know if it is related, and if it is, is there another way I can get the account id?
Hello, I'm trying to use watch_history() in my Crunchyroll program and for some reason it's returning empty series structs between the episodes I want to retrieve. Here is my sample code and a sample output:
use crunchyroll_rs::{Crunchyroll, MediaCollection};
use crunchyroll_rs::common::StreamExt;
use anyhow::Result;
use crunchyroll_rs::list::WatchHistoryEntry;
use std::fs::File;
use std::io::prelude::*;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// log in to crunchyroll with your username and password
let crunchyroll = Crunchyroll::builder()
.login_with_credentials("", "")
.await?;
let mut file = File::create("foo.txt")?;
let mut total = 0;
let mut history = crunchyroll.watch_history();
while let Some(item) = history.next().await {
match item? {
WatchHistoryEntry {id: entry, parent_id, parent_type, date_played, playhead, fully_watched, panel} => {
total += 1;
let anime_title: String;
let format: String;
match panel {
MediaCollection::Series(series) => {
format = String::from("Series");
anime_title = series.availability_notes;
}
MediaCollection::Season(season) => {
format = String::from("Season");
anime_title = season.title;
}
MediaCollection::Episode(episode) => {
format = String::from("Episode");
anime_title = episode.title;
}
MediaCollection::MovieListing(movie_list) => {
format = String::from("Movie Listing");
anime_title = movie_list.title;
}
MediaCollection::Movie(movie) => {
format = String::from("Movie");
anime_title = movie.title;
}
MediaCollection::MusicVideo(amv) => {
format = String::from("Anime Music Video");
anime_title = amv.title;
}
MediaCollection::Concert(conc) => {
format = String::from("Concert");
anime_title = conc.title;
}
}
let line = format!("Entry {}:Type: {} \tTitle of entry: {}\n",total, format, anime_title);
file.write_all(&*line.into_bytes())?;
}
}
}
Ok(())
}
And part of my output:
Entry 2684:Type: Episode Title of entry: Proof of Evolution Synchro Monster
Entry 2685:Type: Episode Title of entry: A New Threat
Entry 2686:Type: Series Title of entry:
Entry 2687:Type: Series Title of entry:
Entry 2688:Type: Series Title of entry:
Entry 2689:Type: Series Title of entry:
Entry 2690:Type: Series Title of entry:
Entry 2691:Type: Series Title of entry:
Entry 2692:Type: Series Title of entry:
Entry 2693:Type: Series Title of entry:
Entry 2694:Type: Series Title of entry:
Entry 2695:Type: Series Title of entry:
Entry 2696:Type: Series Title of entry:
Entry 2697:Type: Series Title of entry:
Entry 2698:Type: Episode Title of entry: Reunion and Turnabout โ 2nd Trial
Entry 2699:Type: Episode Title of entry: To Our Future!
When checking with my watch history, the episodes split by these empty entries are in order. If I removed the empty entries, the watch history would be uninterrupted. But these Series entries don't make sense to me. I tried grabbing other information from them, but I couldn't see anything. Any help you can provide would be fantastic, as these empty entries are preventing me from grabbing the entirety of my watch history (it's grabbing all but 20 episodes).
Multiple profiles hasn't been added yet but they've made some endpoints for it like /accounts/v1/me/multiprofile
and /accounts/v1/me/multiprofile/{profile_uuid}
, was thinking could add them for possible future proofing I would do it myself but I'm not confident enough in rust to do so.
These are the endpoints I could find and figure out how to use: getMultiProfile, getMultiProfiles, deleteMultiProfile, createMultiProfile, editMultiProfile, switchProfile.
I didn't see any implementation to set watch history, if this doesn't exist already is it planned? Just come context, I'm looking to create a cli tool to copy watch history from one account/profile to another.
Recently, the library stopped correctly detecting audio locales for some series, most specifically the ja_JP locale.
The code I use for querying series is exemplified as follows:
let crunchyroll = init_cr(user, password, Some(get_system_loc())).await?; //get_system_loc() is correctly setting the locale
let opts = crunchyroll_rs::search::QueryOptions::default().result_type(QueryType::Series);
let qrrs = crunchyroll.query(&self.query, opts).await?;
which fetches series to display in a simple selection menu.
However, some series that only have the japanese audio language are incorrectly parsed with a en_US locale, for example:
And series that have multiple dubs alongside the japanese audio don't have the ja_JP locale at all:
I'm currently facing an issue while attempting to utilize the sort()
method within the BrowseOptions
during a call to browse()
. Strangely, regardless of the selected BrowseSortType
, the results returned do not adhere to the specified sorting order.
BrowseOptions
with a specified sort type (e.g., Popularity
, NewlyAdded
, etc.).browse()
method using the constructed BrowseOptions
.The outcome of the browse()
function should align with the specified BrowseSortType
within the BrowseOptions
.
Contrary to expectations, the results are not sorted in accordance with the chosen BrowseSortType
. For instance, when utilizing Popularity
, the anticipated order is from most to least popular. However, the returned list does not conform to this expected sorting.
// Example code illustrating the issue
let crunchyroll = Crunchyroll::builder()
.login_with_credentials(email, password)
.await?;
let options = BrowseOptions::default().sort(crunchyroll_rs::search::BrowseSortType::NewlyAdded);
let mut browse_result = crunchyroll.browse(options.clone());
// The results are not sorted by newlyadded
crunchyroll-rs
Version: 0.8.0A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.