mirror of
https://github.com/yattee/yattee.git
synced 2025-01-08 22:07:10 +00:00
Fix url parsing
This commit is contained in:
parent
e5f49fda5e
commit
74917a482e
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user