update video download url

This commit is contained in:
OMGeeky
2023-06-02 17:48:28 +02:00
parent e369535b23
commit b0d22659a7
2 changed files with 3 additions and 3 deletions

View File

@@ -324,7 +324,7 @@ impl<'a> TwitchClient<'a> {
let signature = signature.into();
let playlist_url = format!(
"http://usher.twitch.tv/vod/{}?nauth={}&nauthsig={}&allow_source=true&player=twitchweb",
"http://usher.ttvnw.net/vod/{}?nauth={}&nauthsig={}&allow_source=true&player=twitchweb",
video_id, token, signature
);
let playlist = check_backoff_twitch_get(playlist_url).await?.text().await?;