8000 GitHub - bburdette/youtube-dl-rs: A youtube-dl wrapper for Rust
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bburdette/youtube-dl-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youtube-dl-rs

Runs youtube-dl and parses its JSON output. Example:

  let output = YoutubeDl::new("https://www.youtube.com/watch?v=VFbhKZFzbzk")
      .socket_timeout("15")
      .run()
      .unwrap();
  let title = match output {
      YoutubeDlOutput::SingleVideo(video) => video.title,
      _ => panic!("single video should not be a playlist")  
  };
  println!("Video title: {}", title);

About

A youtube-dl wrapper for Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%
0