add support for ok videos & clean up

This commit is contained in:
wukko
2024-01-17 13:02:52 +06:00
parent a63a35c74d
commit 5b1e9f1fa6
5 changed files with 94 additions and 22 deletions

View File

@@ -5,6 +5,9 @@ export const testers = {
"instagram": (patternMatch) =>
patternMatch.postId?.length <= 12
|| (patternMatch.username?.length <= 30 && patternMatch.storyId?.length <= 24),
"ok": (patternMatch) =>
patternMatch.id?.length <= 16,
"pinterest": (patternMatch) =>
patternMatch.id?.length <= 128,