podal/src/main.rs
Paul Campbell 83081a2051
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
i5-add-tests (part 3) (#9)
Reviewed-on: #9
Co-authored-by: Paul Campbell <pcampbell@kemitix.net>
Co-committed-by: Paul Campbell <pcampbell@kemitix.net>
2023-07-29 20:36:03 +01:00

23 lines
484 B
Rust

use podal::file::FileEnv;
use podal::network::NetworkEnv;
use podal::prelude::*;
fn main() -> Result<()> {
println!("Podal");
let subscriptions = "subscriptions.txt";
let history = "downloaded.txt";
let site = "https://www.youtube.com/";
podal::run(
subscriptions,
history,
site,
podal::Env {
network: NetworkEnv::default(),
file: FileEnv::default(),
},
)?;
println!("Done");
Ok(())
}