| Crates.io | cda-dl |
| lib.rs | cda-dl |
| version | 0.1.0 |
| created_at | 2025-07-10 15:59:38.625196+00 |
| updated_at | 2025-07-10 15:59:38.625196+00 |
| description | Minimal async library for extracting video stream URLs from cda.pl |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1746700 |
| size | 54,776 |
A minimal async Rust library to extract direct video stream URLs from CDA.pl.
This crate lets you fetch the highest quality video stream URL from a given CDA video page using asynchronous HTTP requests and HTML parsing.
.mpd or .mp4) from CDA.plAdd this to your Cargo.toml:
[dependencies]
cda-dl = "0.1.0"
use anyhow::Result;
use cda_dl::get_video_url;
#[tokio::main]
async fn main() -> Result<()> {
let cda_url = "http://www.cda.pl/video/1590976239";
let video_url = get_video_url(cda_url).await?;
println!("Video URL: {}", video_url);
Ok(())
}
This project is licensed under the MIT License.