mirror of
https://github.com/yattee/yattee.git
synced 2025-10-19 05:48:14 +00:00
Fix url parsing
This commit is contained in:
@@ -41,7 +41,7 @@ struct URLParser {
|
|||||||
|
|
||||||
if hasAnyOfPrefixes(path, Self.prefixes[.playlist]!) ||
|
if hasAnyOfPrefixes(path, Self.prefixes[.playlist]!) ||
|
||||||
queryItemValue("v") == "playlist" ||
|
queryItemValue("v") == "playlist" ||
|
||||||
!(queryItemValue("list")?.isEmpty ?? false)
|
(queryItemValue("list") ?? "").count > 3
|
||||||
{
|
{
|
||||||
return .playlist
|
return .playlist
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user