mirror of
https://git.gaycatgirl.sex/husky/free_twitter_api.git
synced 2024-12-22 10:41:23 -05:00
minor additions
This commit is contained in:
parent
0070468bcf
commit
1ad308db02
1 changed files with 2 additions and 0 deletions
|
@ -2,12 +2,14 @@ use crate::constants::random_useragent;
|
||||||
use crate::Client;
|
use crate::Client;
|
||||||
use isahc::http::HeaderMap;
|
use isahc::http::HeaderMap;
|
||||||
use isahc::ReadResponseExt;
|
use isahc::ReadResponseExt;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use log::debug;
|
use log::debug;
|
||||||
|
|
||||||
/// this is what we look for to find the bearer token
|
/// this is what we look for to find the bearer token
|
||||||
const SEARCH_STRING: &str = "AAAAAAAAA";
|
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
|
/// 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
|
/// 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=";
|
const GUEST_ID_SEARCH_STRING: &str = "guest_id=";
|
||||||
/// this is what we look for to find the guest token ("gt")
|
/// this is what we look for to find the guest token ("gt")
|
||||||
const GUEST_TOKEN_SEARCH_STRING: &str = "\"gt=";
|
const GUEST_TOKEN_SEARCH_STRING: &str = "\"gt=";
|
||||||
|
|
Loading…
Reference in a new issue