aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crates/yt_dlp/src/lib.rs5
-rw-r--r--crates/yt_dlp/src/wrapper/info_json.rs1
2 files changed, 1 insertions, 5 deletions
diff --git a/crates/yt_dlp/src/lib.rs b/crates/yt_dlp/src/lib.rs
index ddbce7d..9fd0200 100644
--- a/crates/yt_dlp/src/lib.rs
+++ b/crates/yt_dlp/src/lib.rs
@@ -271,10 +271,7 @@ pub fn progress_hook(py: Python<'_>, input: &Bound<'_, PyDict>) -> PyResult<()>
stdout().flush()?;
}
"finished" => {
- println!(
- "-> Finished downloading: '{}'",
- c!("34;1", get_title(true))
- );
+ println!("-> Finished downloading: '{}'", c!("34;1", get_title(true)));
}
"error" => {
panic!("-> Error while downloading: {}", get_title(true))
diff --git a/crates/yt_dlp/src/wrapper/info_json.rs b/crates/yt_dlp/src/wrapper/info_json.rs
index 1920172..a2a775c 100644
--- a/crates/yt_dlp/src/wrapper/info_json.rs
+++ b/crates/yt_dlp/src/wrapper/info_json.rs
@@ -247,7 +247,6 @@ pub struct SubtitleFragment {
duration: Option<f64>,
}
-
#[derive(Debug, Deserialize, Serialize, PartialEq, PartialOrd)]
#[serde(deny_unknown_fields)]
pub struct Chapter {