diff --git a/src/token_generator.rs b/src/token_generator.rs index 599bb1d..cea1363 100644 --- a/src/token_generator.rs +++ b/src/token_generator.rs @@ -2,12 +2,14 @@ use crate::constants::random_useragent; use crate::Client; use isahc::http::HeaderMap; use isahc::ReadResponseExt; +#[allow(unused_imports)] use log::debug; /// this is what we look for to find the bearer token const SEARCH_STRING: &str = "AAAAAAAAA"; /// this is what we look for to get the guest_id string, it has a `=` at the end because we don't /// wanna get something like guest_id_marketing accidentally +/// (don't mind the fact that guest_id_marketing currently holds the same value as guest_id) const GUEST_ID_SEARCH_STRING: &str = "guest_id="; /// this is what we look for to find the guest token ("gt") const GUEST_TOKEN_SEARCH_STRING: &str = "\"gt=";