feat: add print for refresh
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user