minor additions

This commit is contained in:
husky 2023-02-11 18:00:54 -08:00
parent 0070468bcf
commit 1ad308db02
1 changed files with 2 additions and 0 deletions

View File

@ -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=";