feat: add print for refresh

This commit is contained in:
2025-10-01 08:36:37 +03:00
parent 393f4d44af
commit c3adf8aedb

View File

@@ -84,6 +84,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("\nUploading videos...");
for (i, (video_file, video_metadata)) in video_files.iter().zip(metadata.iter()).enumerate() {
if (i+1) % 10 == 0 {
println!("refreshing token");
uploader.authenticate().await?;
}
println!("Uploading {} ({}/{})", video_file, i + 1, video_files.len());