From dd947a608709dc1c386007365ae4df5bafea00db Mon Sep 17 00:00:00 2001 From: OMGeeky Date: Tue, 4 Apr 2023 20:00:33 +0200 Subject: [PATCH] some more logs --- Cargo.toml | 2 +- src/lib.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fc1932e..70ce30b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "twitch_data" -version = "0.1.0" +version = "0.1.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/lib.rs b/src/lib.rs index 8f1252d..3866eb6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -348,10 +348,11 @@ impl<'a> TwitchClient<'a> { ); let (token, signature) = self.get_video_token_and_signature(&video_id).await?; + debug!("Got token and signature: {}, {}", token, signature); let playlist = self .get_video_playlist(&video_id, &token, &signature) .await?; - + debug!("Got playlist: {}", playlist); let mut qualties = HashMap::new(); let mut highest_quality = String::new();