vsd 0.5.0

A command-line utility and library for downloading streams from DASH manifests and HLS playlists.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use clap::Parser;
use log::{error, warn};
use vsd::{Args, Error};

#[tokio::main(flavor = "multi_thread")]
async fn main() {
    if let Err(e) = Args::parse().execute().await {
        match e {
            Error::DownloadInterrupted => {
                warn!("{}", e);
            },
            _ => {
                error!("{}", e);
                std::process::exit(1);
            }
        }
    }
}