mirror of
https://github.com/shiroyashik/doggy-watch.git
synced 2025-12-06 12:31:13 +03:00
The first completed version!
This commit is contained in:
parent
2844bb9149
commit
42fd8f571e
37 changed files with 2320 additions and 952 deletions
|
|
@ -43,7 +43,10 @@ pub async fn get_video_metadata(vid: &str) -> Result<VideoMetadata, reqwest::Err
|
|||
return Err(response.error_for_status().unwrap_err());
|
||||
}
|
||||
|
||||
let metadata: VideoMetadata = response.json().await?;
|
||||
let mut metadata: VideoMetadata = response.json().await?;
|
||||
|
||||
// ¯\_(ツ)_/¯
|
||||
metadata.title = metadata.title.replace("/", "/ ");
|
||||
|
||||
Ok(metadata)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue