mirror of
https://github.com/imputnet/cobalt.git
synced 2026-11-06 01:38:28 +00:00
twitter spaces and a ton of improvements
This commit is contained in:
parent
d0801c4d1d
commit
c532062aa2
32 changed files with 262 additions and 230 deletions
|
|
@ -1,8 +1,8 @@
|
|||
export const testers = {
|
||||
"twitter": (patternMatch) => (patternMatch["id"] && patternMatch["id"].length < 20),
|
||||
"twitter": (patternMatch) => (patternMatch["id"] && patternMatch["id"].length < 20) || (patternMatch["spaceId"] && patternMatch["spaceId"].length === 13),
|
||||
|
||||
"vk": (patternMatch) => (patternMatch["userId"] && patternMatch["videoId"] &&
|
||||
patternMatch["userId"].length <= 10 && patternMatch["videoId"].length == 9),
|
||||
patternMatch["userId"].length <= 10 && patternMatch["videoId"].length === 9),
|
||||
|
||||
"bilibili": (patternMatch) => (patternMatch["id"] && patternMatch["id"].length >= 12),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue