From 1ad308db02e2cd83ae0af3cde65498dab7a47330 Mon Sep 17 00:00:00 2001 From: husky Date: Sat, 11 Feb 2023 18:00:54 -0800 Subject: [PATCH] minor additions --- src/token_generator.rs | 2 ++ 1 file changed, 2 insertions(+) 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=";