rutube: add support for shorts and yappy (#471)
* rutube: add support for shorts and yappy * tests: add rutube yappy and shorts tests Closes #465 Closes #466
This commit is contained in:
@@ -19,7 +19,7 @@ export const testers = {
|
||||
patternMatch.sub?.length <= 22 && patternMatch.id?.length <= 10,
|
||||
|
||||
"rutube": (patternMatch) =>
|
||||
patternMatch.id?.length === 32,
|
||||
patternMatch.id?.length === 32 || patternMatch.yappyId?.length === 32,
|
||||
|
||||
"soundcloud": (patternMatch) =>
|
||||
(patternMatch.author?.length <= 255 && patternMatch.song?.length <= 255)
|
||||
|
||||
Reference in New Issue
Block a user