This crate allows you to recover a twitch vod.
toml
[dependencies]
anyhow = "1.0"
rust
let vod = VodRecover::from_twitchtracker("https://twitchtracker.com/streamer_name/streams/stream_id").await.unwrap();
let url = vod.get_url().await.context("Unable to find a valid url")?;
println!("{}", url);
``` rust let date = "2022-10-29 13:06"; let timestamp = NaiveDateTime::parsefromstr(date, "%Y-%m-%d %H:%M") .unwrap() .timestamp();
let vod = VodRecover::frommanual("streamername", "streamid", timestamp); let url = vod.geturl().await.context("Unable to find a valid url")?; println!("{}", url); ```
Licensed under GPL-3.0