| Crates.io | rustytdown |
| lib.rs | rustytdown |
| version | 0.1.0 |
| created_at | 2024-12-20 10:01:52.080988+00 |
| updated_at | 2024-12-20 10:01:52.080988+00 |
| description | A YouTube video downloader and converter written in Rust |
| homepage | |
| repository | https://github.com/0pandadev/rustytdown |
| max_upload_size | |
| id | 1490003 |
| size | 50,623 |
A lightweight and efficient YouTube video downloader written in Rust. This tool allows you to download YouTube videos with just a few essential dependencies for core functionality!
[dependencies]
rustytdown = "0.1.0"
use rustytdown::YouTubeDownloader;
#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let downloader = YouTubeDownloader::new()?;
downloader.download_and_convert("dQw4w9WgXcQ").await?;
Ok(())
}
Contributions are welcome! Please feel free to submit a Pull Request.