rename to av because its video with audio
This commit is contained in:
parent
6602016d44
commit
9414fb51bd
2 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ impl YtDlpInfo {
|
||||||
Ok(info)
|
Ok(info)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn best_video_format(&self) -> Option<&YtDlpFormat> {
|
pub fn best_av_format(&self) -> Option<&YtDlpFormat> {
|
||||||
let format = self
|
let format = self
|
||||||
.formats
|
.formats
|
||||||
.iter()
|
.iter()
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ async fn main() -> anyhow::Result<()> {
|
||||||
}
|
}
|
||||||
println!("");
|
println!("");
|
||||||
|
|
||||||
let video = info.best_video_format().unwrap();
|
let video = info.best_av_format().unwrap();
|
||||||
println!("{}", video);
|
println!("{}", video);
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue