soundcloud: accommodate for longer usernames

closes #293
This commit is contained in:
wukko 2023-12-29 08:19:15 +06:00
parent 90f82ae36e
commit 58246dfcdb

View file

@ -16,7 +16,7 @@ export const testers = {
patternMatch.id?.length === 32,
"soundcloud": (patternMatch) =>
(patternMatch.author?.length <= 25 && patternMatch.song?.length <= 255)
(patternMatch.author?.length <= 128 && patternMatch.song?.length <= 255)
|| patternMatch.shortLink?.length <= 32,
"streamable": (patternMatch) =>