use clap::Parser; use podal::file::FileEnv; use podal::network::NetworkEnv; use podal::params::Args; use podal::prelude::*; fn main() -> Result<()> { println!("Podal"); let site = "https://www.youtube.com/"; let args = Args::parse(); podal::run( site, &args, podal::Env { network: NetworkEnv::default(), file: FileEnv::create(&args), }, ) .context("Running")?; println!("Done"); Ok(()) }