mirror of
https://github.com/imputnet/cobalt.git
synced 2026-11-06 01:38:28 +00:00
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:
parent
8f27c86a43
commit
f20f87bd1d
5 changed files with 56 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue