some more logs

This commit is contained in:
OMGeeky
2023-04-04 20:00:33 +02:00
parent 6b29be50dd
commit dd947a6087
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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();