Paul Campbell
83081a2051
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #9 Co-authored-by: Paul Campbell <pcampbell@kemitix.net> Co-committed-by: Paul Campbell <pcampbell@kemitix.net>
23 lines
484 B
Rust
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(())
|
|
}
|