fix: support YTM browse urls
This commit is contained in:
parent
ea16a3e74f
commit
9b6c952fd3
3 changed files with 16 additions and 3 deletions
|
|
@ -68,9 +68,7 @@ impl UrlTarget {
|
|||
format!("{}/playlist?list={}", yt_host, id)
|
||||
}
|
||||
UrlTarget::Album { id } => {
|
||||
// The official album URLs use the playlist ID
|
||||
// This looks weird, but it works
|
||||
format!("{}/channel/{}", yt_host, id)
|
||||
format!("https://music.youtube.com/browse/{}", id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue